]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ima: AppArmor satisfies the audit rule requirements
authorTyler Hicks <tyhicks@linux.microsoft.com>
Tue, 23 Jun 2020 23:38:23 +0000 (18:38 -0500)
committerMimi Zohar <zohar@linux.ibm.com>
Mon, 20 Jul 2020 22:18:37 +0000 (18:18 -0400)
AppArmor meets all the requirements for IMA in terms of audit rules
since commit e79c26d04043 ("apparmor: Add support for audit rule
filtering"). Update IMA's Kconfig section for CONFIG_IMA_LSM_RULES to
reflect this.

Fixes: e79c26d04043 ("apparmor: Add support for audit rule filtering")
Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/ima/Kconfig

index edde88dbe5766dcd8ae33705eb70a96face8ab8c..794ebb5cbf74a0b5c941d873153aadf71f979c2a 100644 (file)
@@ -54,7 +54,7 @@ config IMA_MEASURE_PCR_IDX
 
 config IMA_LSM_RULES
        bool
-       depends on IMA && AUDIT && (SECURITY_SELINUX || SECURITY_SMACK)
+       depends on IMA && AUDIT && (SECURITY_SELINUX || SECURITY_SMACK || SECURITY_APPARMOR)
        default y
        help
          Disabling this option will disregard LSM based policy rules.