android_kernel_motorola_sm6375/security
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stefan Berger 8a9511fd10 ima: Do not print policy rule with inactive LSM labels
commit 89677197ae709eb1ab3646952c44f6a171c9e74c upstream.

Before printing a policy rule scan for inactive LSM labels in the policy
rule. Inactive LSM labels are identified by args_p != NULL and
rule == NULL.

Fixes: 483ec26eed42 ("ima: ima/lsm policy rule loading logic bug fixes")
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Cc: <stable@vger.kernel.org> # v5.6+
Acked-by: Christian Brauner <brauner@kernel.org>
[zohar@linux.ibm.com: Updated "Fixes" tag]
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-16 12:52:47 +01:00
..
apparmor
integrity ima: Do not print policy rule with inactive LSM labels 2022-02-16 12:52:47 +01:00
keys
loadpin
lockdown
safesetid
selinux selinux: fix potential memleak in selinux_add_opt() 2022-01-27 09:19:35 +01:00
smack
tomoyo tomoyo: Check exceeded quota early in tomoyo_domain_quota_is_ok(). 2022-01-05 12:37:43 +01:00
yama
commoncap.c
device_cgroup.c
inode.c
Kconfig fortify: Explicitly disable Clang support 2021-11-21 13:38:50 +01:00
Kconfig.hardening
lsm_audit.c
Makefile
min_addr.c
security.c