summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.ibm.com>2022-02-01 21:37:10 +0100
committerMimi Zohar <zohar@linux.ibm.com>2022-02-02 17:59:54 +0100
commit89677197ae709eb1ab3646952c44f6a171c9e74c (patch)
tree504c5dbd0728afec519023fb2a9b948b15bf208f /block
parentima: Allow template selection with ima_template[_fmt]= after ima_hash= (diff)
downloadlinux-89677197ae709eb1ab3646952c44f6a171c9e74c.tar.xz
linux-89677197ae709eb1ab3646952c44f6a171c9e74c.zip
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions