On Oct 23, 2024 Casey Schaufler <casey@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx> > Cc: linux-nfs@xxxxxxxxxxxxxxx > --- > 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