Re: [PATCH v20 08/23] LSM: Use lsmblob in security_ipc_getsecid

From
Paul Moore <paul@paul-moore.com>
Date
2020-09-05 13:13:04
Also in
selinux
Reply to
Casey Schaufler, 2020-08-26
On Wed, Aug 26, 2020 at 11:10 AM Casey Schaufler [off-list ref] wrote:
There may be more than one LSM that provides IPC data
for auditing. Change security_ipc_getsecid() to fill in
a lsmblob structure instead of the u32 secid. The
audit data structure containing the secid will be updated
later, so there is a bit of scaffolding here.

Reviewed-by: Kees Cook <redacted>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Acked-by: Stephen Smalley <redacted>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
---
 include/linux/security.h |  7 ++++---
 kernel/auditsc.c         |  7 ++++++-
 security/security.c      | 12 +++++++++---
 3 files changed, 19 insertions(+), 7 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