On Wed, Aug 26, 2020 at 11:12 AM Casey Schaufler <casey(a)schaufler-ca.com> 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 <keescook(a)chromium.org>
Reviewed-by: John Johansen <john.johansen(a)canonical.com>
Signed-off-by: Casey Schaufler <casey(a)schaufler-ca.com>
Acked-by: Stephen Smalley <sds(a)tycho.nsa.gov>
cc: linux-integrity(a)vger.kernel.org
---
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(a)paul-moore.com>
--
paul moore
www.paul-moore.com