security: fix ima kconfig warning
Subsystems (3)
PATCH 1/1 security: fix ima kconfig warning
From: Randy Dunlap <[email protected]>
Fix IMA kconfig warning on non-X86 architectures:
warning: (IMA) selects TCG_TIS which has unmet direct dependencies (TCG_TPM && X86)
But why do TCG_TIS and TCG_NSC depend on X86??
---
No IMA/TPM builds have been tested with this change...
security/integrity/ima/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
security/integrity/ima/Kconfig +1 -1
@@ -10,7 +10,7 @@ config IMA select CRYPTO_MD5 select CRYPTO_SHA1 select TCG_TPM if !S390 && !UML - select TCG_TIS if TCG_TPM + select TCG_TIS if TCG_TPM && X86 help The Trusted Computing Group(TCG) runtime Integrity Measurement Architecture(IMA) maintains a list of hash
Quoted 9 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Fix IMA kconfig warning on non-X86 architectures:
warning: (IMA) selects
TCG_TISwhich has unmet direct dependencies (TCG_TPM&& X86)But why do
TCG_TISandTCG_NSCdepend on X86??
These drivers only support the probing for TPM devices on this platform, through PNP or a hardcoded address base.
Quoted 27 lines
Signed-off-by Randy Dunlap <[email protected]>Reported-by Geert Uytterhoeven <[email protected]>Cc Mimi Zohar <[email protected]>Cc James Morris <[email protected]>---
No IMA/TPM builds have been tested with this change...security/integrity/ima/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)security/integrity/ima/Kconfig +1
-2@@ -10,7 +10,7 @@ config IMA select CRYPTO_MD5 select CRYPTO_SHA1 select TCG_TPM if !S390 && !UML - select TCG_TIS if TCG_TPM + select TCG_TIS if TCG_TPM && X86 help The Trusted Computing Group(TCG) runtime Integrity Measurement Architecture(IMA) maintains a list of hash --To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 3 lines
Rajiv Andrade Security Development IBM Linux Technology Center
James Morris
maintainerQuoted 3 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Fix IMA kconfig warning on non-X86 architectures:
Applied togit://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next
- James
Signature · 2 lines
James Morris <[email protected]>