Kconfig 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. config EVM
  2. bool "EVM support"
  3. select KEYS
  4. select ENCRYPTED_KEYS
  5. select CRYPTO_HMAC
  6. select CRYPTO_SHA1
  7. default n
  8. help
  9. EVM protects a file's security extended attributes against
  10. integrity attacks.
  11. If you are unsure how to answer this question, answer N.
  12. config EVM_ATTR_FSUUID
  13. bool "FSUUID (version 2)"
  14. default y
  15. depends on EVM
  16. help
  17. Include filesystem UUID for HMAC calculation.
  18. Default value is 'selected', which is former version 2.
  19. if 'not selected', it is former version 1
  20. WARNING: changing the HMAC calculation method or adding
  21. additional info to the calculation, requires existing EVM
  22. labeled file systems to be relabeled.
  23. config EVM_EXTRA_SMACK_XATTRS
  24. bool "Additional SMACK xattrs"
  25. depends on EVM && SECURITY_SMACK
  26. default n
  27. help
  28. Include additional SMACK xattrs for HMAC calculation.
  29. In addition to the original security xattrs (eg. security.selinux,
  30. security.SMACK64, security.capability, and security.ima) included
  31. in the HMAC calculation, enabling this option includes newly defined
  32. Smack xattrs: security.SMACK64EXEC, security.SMACK64TRANSMUTE and
  33. security.SMACK64MMAP.
  34. WARNING: changing the HMAC calculation method or adding
  35. additional info to the calculation, requires existing EVM
  36. labeled file systems to be relabeled.
  37. config EVM_LOAD_X509
  38. bool "Load an X509 certificate onto the '.evm' trusted keyring"
  39. depends on EVM && INTEGRITY_TRUSTED_KEYRING
  40. default n
  41. help
  42. Load an X509 certificate onto the '.evm' trusted keyring.
  43. This option enables X509 certificate loading from the kernel
  44. onto the '.evm' trusted keyring. A public key can be used to
  45. verify EVM integrity starting from the 'init' process.
  46. config EVM_X509_PATH
  47. string "EVM X509 certificate path"
  48. depends on EVM_LOAD_X509
  49. default "/etc/keys/x509_evm.der"
  50. help
  51. This option defines X509 certificate path.