summaryrefslogtreecommitdiffstats
path: root/security/integrity/ima/Kconfig
diff options
context:
space:
mode:
authorStefan Berger2018-06-04 22:54:54 +0200
committerMimi Zohar2018-07-18 13:27:22 +0200
commit2afd020aaeeefacb7711b47e3afb0cfb50db3f13 (patch)
treebf3a9a541f8598092f8cd7ecbfa93c0f15bc0b22 /security/integrity/ima/Kconfig
parentima: Use audit_log_format() rather than audit_log_string() (diff)
downloadkernel-qcow2-linux-2afd020aaeeefacb7711b47e3afb0cfb50db3f13.tar.gz
kernel-qcow2-linux-2afd020aaeeefacb7711b47e3afb0cfb50db3f13.tar.xz
kernel-qcow2-linux-2afd020aaeeefacb7711b47e3afb0cfb50db3f13.zip
ima: Do not audit if CONFIG_INTEGRITY_AUDIT is not set
If Integrity is not auditing, IMA shouldn't audit, either. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Acked-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'security/integrity/ima/Kconfig')
-rw-r--r--security/integrity/ima/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/integrity/ima/Kconfig b/security/integrity/ima/Kconfig
index 004919d9bf09..13b446328dda 100644
--- a/security/integrity/ima/Kconfig
+++ b/security/integrity/ima/Kconfig
@@ -12,6 +12,7 @@ config IMA
select TCG_TIS if TCG_TPM && X86
select TCG_CRB if TCG_TPM && ACPI
select TCG_IBMVTPM if TCG_TPM && PPC_PSERIES
+ select INTEGRITY_AUDIT if AUDIT
help
The Trusted Computing Group(TCG) runtime Integrity
Measurement Architecture(IMA) maintains a list of hash