android_kernel_motorola_sm6375/security/integrity
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
..
evm
ima ima: Do not print policy rule with inactive LSM labels 2022-02-16 12:52:47 +01:00
platform_certs
digsig.c
digsig_asymmetric.c
iint.c
integrity.h
integrity_audit.c integrity: check the return value of audit_log_start() 2022-02-16 12:52:47 +01:00
Kconfig
Makefile