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

From
Kees Cook <hidden>
Date
2021-05-14 19:24:54
Also in
linux-nfs, lkml, selinux
Reply to
Casey Schaufler, 2021-05-13
On Thu, May 13, 2021 at 01:07:59PM -0700, 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.

Acked-by: Stephen Smalley <redacted>
Acked-by: Paul Moore <paul@paul-moore.com>
Acked-by: Chuck Lever <redacted>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Seem good to me.

Reviewed-by: Kees Cook <redacted>

-- 
Kees Cook
Thread (49 messages) 49 messages, 5 authors, last reply 2021-05-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help