]> git.proxmox.com Git - mirror_ubuntu-impish-kernel.git/commit
UBUNTU: SAUCE: LSM: Use lsmblob in security_task_getsecid
authorCasey Schaufler <casey@schaufler-ca.com>
Wed, 19 Aug 2020 23:06:37 +0000 (16:06 -0700)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 28 Jun 2021 06:03:54 +0000 (08:03 +0200)
commit39d386dd6ec3686717f02537c5dbabfb4dc7562b
tree0aaf2ce54e320faed9ae9b7965c569ae4b1fb1bc
parent0f535eff7e7c042f2bd5f8dd0ff4b13ce3483270
UBUNTU: SAUCE: LSM: Use lsmblob in security_task_getsecid

Change the security_task_getsecid() interface to fill in
a lsmblob structure instead of a u32 secid in support of
LSM stacking. Audit interfaces will need to collect all
possible secids for possible reporting.

Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
cc: linux-integrity@vger.kernel.org
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Andrea Righi <andrea.righi@canonical.com>
[ saf: resolve conflicts ]
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/android/binder.c
include/linux/security.h
kernel/audit.c
kernel/auditfilter.c
kernel/auditsc.c
net/netlabel/netlabel_unlabeled.c
net/netlabel/netlabel_user.h
security/integrity/ima/ima_appraise.c
security/integrity/ima/ima_main.c
security/security.c