Kconfig

If EVM

CONFIG_EVM_ATTR_FSUUID FSUUID (version 2)

On

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

On

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.

CONFIG_EVM_ADD_XATTRS Add additional EVM extended attributes at runtime

On

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

On

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.

If EVM_LOAD_X509