[PATCH v11 17/25] LSM: Use lsmcontext in security_inode_getsecctx
James Morris
jmorris at namei.org
Thu Nov 21 05:50:25 UTC 2019
On Wed, 13 Nov 2019, Casey Schaufler wrote:
> Change the security_inode_getsecctx() interface to fill
> a lsmcontext 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 at schaufler-ca.com>
> ---
> fs/nfsd/nfs4xdr.c | 23 +++++++++--------------
> include/linux/security.h | 5 +++--
> security/security.c | 13 +++++++++++--
> 3 files changed, 23 insertions(+), 18 deletions(-)
Please ensure all relevant maintainers are cc'd:
$ scripts/get_maintainer.pl fs/nfsd/nfs4xdr.c
--
James Morris
<jmorris at namei.org>
More information about the Linux-security-module-archive
mailing list