Thread (22 messages) 22 messages, 2 authors, 2019-11-21

Re: [PATCH v11 17/25] LSM: Use lsmcontext in security_inode_getsecctx

From: James Morris <jmorris@namei.org>
Date: 2019-11-21 05:50:41
Also in: selinux

Possibly related (same subject, not in this thread)

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@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
[off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help