]> git.baikalelectronics.ru Git - kernel.git/commit
ima: Use the common function to detect LSM conditionals in a rule
authorTyler Hicks <tyhicks@linux.microsoft.com>
Thu, 9 Jul 2020 06:19:10 +0000 (01:19 -0500)
committerMimi Zohar <zohar@linux.ibm.com>
Mon, 20 Jul 2020 17:28:16 +0000 (13:28 -0400)
commit8a72a134c5768c4dbd32d998ab8472d14f045943
tree77f69fd50babed73ba3e2d8695fdbf145d4cc336
parent7864e052f0f71a766739474c24a42e6bb9188590
ima: Use the common function to detect LSM conditionals in a rule

Make broader use of ima_rule_contains_lsm_cond() to check if a given
rule contains an LSM conditional. This is a code cleanup and has no
user-facing change.

Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/ima/ima_policy.c