diff options
author | Stefan Berger <[email protected]> | 2022-02-01 15:37:10 -0500 |
---|---|---|
committer | Mimi Zohar <[email protected]> | 2022-02-02 11:59:54 -0500 |
commit | 89677197ae709eb1ab3646952c44f6a171c9e74c (patch) | |
tree | 504c5dbd0728afec519023fb2a9b948b15bf208f /lib/test_overflow.c | |
parent | bb8e52e4906f148c2faf6656b5106cf7233e9301 (diff) |
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 <[email protected]>
Cc: <[email protected]> # v5.6+
Acked-by: Christian Brauner <[email protected]>
[[email protected]: Updated "Fixes" tag]
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions