Skip to content

Commit 0b024d2

Browse files
committed
EVM: ensure trusted and encypted key symbols are available to EVM
Select trusted and encrypted keys if EVM is selected, to ensure the requisite symbols are available. Otherwise, these can be selected as modules while EVM is static, leading to a kernel build failure. Signed-off-by: James Morris <jmorris@namei.org>
1 parent 5a2f3a0 commit 0b024d2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎security/integrity/evm/Kconfig‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
config EVM
22
boolean "EVM support"
3-
depends on SECURITY && KEYS && ENCRYPTED_KEYS
3+
depends on SECURITY && KEYS
44
select CRYPTO_HMAC
55
select CRYPTO_MD5
66
select CRYPTO_SHA1
7+
select ENCRYPTED_KEYS
8+
select TRUSTED_KEYS
79
default n
810
help
911
EVM protects a file's security extended attributes against

0 commit comments

Comments
 (0)