linux/security/integrity/ima
Stefan Berger 89677197ae ima: Do not print policy rule with inactive LSM labels
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: 483ec26eed ("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>
2022-02-02 11:59:54 -05:00
..
ima_api.c ima: Use strscpy instead of strlcpy 2021-10-09 22:17:58 -04:00
ima_appraise.c lsm: security_task_getsecid_subj() -> security_current_getsecid_subj() 2021-11-22 17:52:47 -05:00
ima_asymmetric_keys.c
ima_crypto.c
ima_efi.c
ima_fs.c ima: Remove ima_policy file before directory 2022-02-02 11:59:09 -05:00
ima_init.c
ima_kexec.c ima: silence measurement list hexdump during kexec 2022-01-05 06:22:00 -05:00
ima_main.c lsm: security_task_getsecid_subj() -> security_current_getsecid_subj() 2021-11-22 17:52:47 -05:00
ima_modsig.c
ima_mok.c
ima_policy.c ima: Do not print policy rule with inactive LSM labels 2022-02-02 11:59:54 -05:00
ima_queue_keys.c
ima_queue.c
ima_template_lib.c
ima_template_lib.h
ima_template.c ima: Allow template selection with ima_template[_fmt]= after ima_hash= 2022-02-02 11:59:54 -05:00
ima.h IMA: introduce a new policy option func=SETXATTR_CHECK 2021-08-16 17:35:35 -04:00
Kconfig
Makefile