Re: [PATCH v20 10/23] LSM: Use lsmblob in security_inode_getsecid

From
Paul Moore <paul@paul-moore.com>
Date
2020-09-05 13:21:17
Also in
linux-integrity, selinux
Reply to
Casey Schaufler, 2020-08-26
On Wed, Aug 26, 2020 at 11:12 AM Casey Schaufler [off-list ref] wrote:
Change the security_inode_getsecid() interface to fill in a
lsmblob structure instead of a u32 secid. This allows for its
callers to gather data from all registered LSMs. Data is provided
for IMA and audit.

Reviewed-by: Kees Cook <redacted>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Acked-by: Stephen Smalley <redacted>
cc: <redacted>
---
 include/linux/security.h            |  7 ++++---
 kernel/auditsc.c                    |  6 +++++-
 security/integrity/ima/ima_policy.c |  4 +---
 security/security.c                 | 11 +++++++++--
 4 files changed, 19 insertions(+), 9 deletions(-)
Acked-by: Paul Moore <paul@paul-moore.com>

-- 
paul moore
www.paul-moore.com
Thread (63 messages) 63 messages, 7 authors, last reply 2020-09-10
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