]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
UBUNTU: SAUCE: Stacking v38: LSM: Use lsmblob in security_cred_getsecid
authorCasey Schaufler <casey@schaufler-ca.com>
Fri, 23 Sep 2022 19:00:28 +0000 (12:00 -0700)
committerAndrea Righi <andrea.righi@canonical.com>
Thu, 23 Mar 2023 19:41:23 +0000 (20:41 +0100)
commitca448a650361c2254831b3b89932e0b942586492
tree6cd8aa21cedef516e6f38dae0349eb21d59373a9
parent2d21d9755517900abe98cc6adb354d2018548cdc
UBUNTU: SAUCE: Stacking v38: LSM: Use lsmblob in security_cred_getsecid

BugLink: https://bugs.launchpad.net/bugs/2012136
Change the security_cred_getsecid() interface to fill in a
lsmblob instead of a u32 secid. The associated data elements
in the audit sub-system are changed from a secid to a lsmblob
to accommodate multiple possible LSM audit users.

Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Cc: linux-integrity@vger.kernel.org
Cc: linux-audit@redhat.com
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/android/binder.c
include/linux/security.h
kernel/audit.c
kernel/audit.h
kernel/auditsc.c
security/integrity/ima/ima_main.c
security/security.c