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: 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>
2022-02-02 11:59:54 -05:00
..
2021-10-28 18:52:49 -04:00
2022-02-02 11:59:54 -05:00
2021-12-24 10:25:24 -05:00
2022-01-24 18:37:36 -05:00
2021-04-09 10:40:20 -04:00
2021-05-21 12:47:04 -04:00
2022-02-02 11:44:23 -05:00
2020-11-20 14:45:33 +11:00
2019-11-13 00:33:23 +11:00
2019-11-13 00:33:23 +11:00