summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/integrity/ima/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/integrity/ima/Kconfig b/security/integrity/ima/Kconfig
index 3d2b6ee778a0..53d9764e8f09 100644
--- a/security/integrity/ima/Kconfig
+++ b/security/integrity/ima/Kconfig
@@ -49,7 +49,7 @@ config IMA_AUDIT
config IMA_LSM_RULES
bool
- depends on IMA && (SECURITY_SELINUX || SECURITY_SMACK)
+ depends on IMA && AUDIT && (SECURITY_SELINUX || SECURITY_SMACK)
default y
help
- Disabling this option will disregard LSM based policy rules
+ Disabling this option will disregard LSM based policy rules.