CONFIG_EVM EVM support
EVM protects a file's security extended attributes against integrity attacks.
If you are unsure how to answer this question, answer N.
- Depends on
INTEGRITY - Selects
KEYS if INTEGRITY - Selects
ENCRYPTED_KEYS if INTEGRITY - Selects
CRYPTO_HMAC if INTEGRITY - Selects
CRYPTO_SHA1 if INTEGRITY - Selects
CRYPTO_HASH_INFO if INTEGRITY - Selects
SECURITY_PATH if INTEGRITY
If EVM
CONFIG_EVM_ATTR_FSUUID FSUUID (version 2)
Include filesystem UUID for HMAC calculation.
Default value is 'selected', which is former version 2. if 'not selected', it is former version 1
WARNING: changing the HMAC calculation method or adding additional info to the calculation, requires existing EVM labeled file systems to be relabeled.
CONFIG_EVM_EXTRA_SMACK_XATTRS Additional SMACK xattrs
Include additional SMACK xattrs for HMAC calculation.
In addition to the original security xattrs (eg. security.selinux, security.SMACK64, security.capability, and security.ima) included in the HMAC calculation, enabling this option includes newly defined Smack xattrs: security.SMACK64EXEC, security.SMACK64TRANSMUTE and security.SMACK64MMAP.
WARNING: changing the HMAC calculation method or adding additional info to the calculation, requires existing EVM labeled file systems to be relabeled.
- Depends on
INTEGRITY && EVM && SECURITY_SMACK
CONFIG_EVM_ADD_XATTRS Add additional EVM extended attributes at runtime
Allow userland to provide additional xattrs for HMAC calculation.
When this option is enabled, root can add additional xattrs to the list used by EVM by writing them into /sys/kernel/security/integrity/evm/evm_xattrs.
CONFIG_EVM_LOAD_X509 Load an X509 certificate onto the '.evm' trusted keyring
Load an X509 certificate onto the '.evm' trusted keyring.
This option enables X509 certificate loading from the kernel onto the '.evm' trusted keyring. A public key can be used to verify EVM integrity starting from the 'init' process. The key must have digitalSignature usage set.
- Depends on
INTEGRITY && EVM && INTEGRITY_TRUSTED_KEYRING
If EVM_LOAD_X509
CONFIG_EVM_X509_PATH EVM X509 certificate path
This option defines X509 certificate path.
- Depends on
INTEGRITY && EVM_LOAD_X509