[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5e5c5e04ff82a8a8e94f02ecbe63b1fd@paul-moore.com>
Date: Thu, 31 Oct 2024 18:53:39 -0400
From: Paul Moore <paul@...l-moore.com>
To: Casey Schaufler <casey@...aufler-ca.com>, casey@...aufler-ca.com, linux-security-module@...r.kernel.org
Cc: jmorris@...ei.org, serge@...lyn.com, keescook@...omium.org, john.johansen@...onical.com, penguin-kernel@...ove.sakura.ne.jp, stephen.smalley.work@...il.com, linux-kernel@...r.kernel.org, selinux@...r.kernel.org, mic@...ikod.net, linux-nfs@...r.kernel.org
Subject: Re: [PATCH v3 3/5] LSM: Use lsm_context in security_inode_getsecctx
On Oct 23, 2024 Casey Schaufler <casey@...aufler-ca.com> wrote:
>
> Change the security_inode_getsecctx() interface to fill a lsm_context
> structure instead of data and length pointers. This provides
> the information about which LSM created the context so that
> security_release_secctx() can use the correct hook.
>
> Signed-off-by: Casey Schaufler <casey@...aufler-ca.com>
> Cc: linux-nfs@...r.kernel.org
> ---
> fs/nfsd/nfs4xdr.c | 26 ++++++++++----------------
> include/linux/lsm_hook_defs.h | 4 ++--
> include/linux/security.h | 5 +++--
> security/security.c | 12 ++++++------
> security/selinux/hooks.c | 10 ++++++----
> security/smack/smack_lsm.c | 7 ++++---
> 6 files changed, 31 insertions(+), 33 deletions(-)
See my note on patch 1/5, merging into lsm/dev.
--
paul-moore.com
Powered by blists - more mailing lists