Skip to content

Commit 1d71405

Browse files
author
Mimi Zohar
committed
evm: remove TCG_TPM dependency
All tristates selected by EVM(boolean) are forced to be builtin, except in the TCG_TPM(tristate) dependency case. Arnaud Lacombe summarizes the Kconfig bug as, "So it would seem direct dependency state influence the state of reverse dependencies.." For a detailed explanation, refer to Arnaud Lacombe's posting http://lkml.org/lkml/2011/8/23/498. With the "encrypted-keys: remove trusted-keys dependency" patch, EVM can now be built without a dependency on TCG_TPM. The trusted-keys dependency requires trusted-keys to either be builtin or not selected. This dependency will prevent the boolean/tristate mismatch from occuring. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>, Randy Dunlap <rdunlap@xenotimenet> Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
1 parent 982e617 commit 1d71405

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎security/integrity/evm/Kconfig‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
config EVM
22
boolean "EVM support"
3-
depends on SECURITY && KEYS && TCG_TPM
3+
depends on SECURITY && KEYS && (TRUSTED_KEYS=y || TRUSTED_KEYS=n)
44
select CRYPTO_HMAC
55
select CRYPTO_MD5
66
select CRYPTO_SHA1
77
select ENCRYPTED_KEYS
8-
select TRUSTED_KEYS
98
default n
109
help
1110
EVM protects a file's security extended attributes against

0 commit comments

Comments
 (0)