Kconfig 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. config EVM
  2. boolean "EVM support"
  3. depends on SECURITY
  4. select KEYS
  5. select ENCRYPTED_KEYS
  6. select CRYPTO_HMAC
  7. select CRYPTO_SHA1
  8. default n
  9. help
  10. EVM protects a file's security extended attributes against
  11. integrity attacks.
  12. If you are unsure how to answer this question, answer N.
  13. if EVM
  14. menu "EVM options"
  15. config EVM_ATTR_FSUUID
  16. bool "FSUUID (version 2)"
  17. default y
  18. depends on EVM
  19. help
  20. Include filesystem UUID for HMAC calculation.
  21. Default value is 'selected', which is former version 2.
  22. if 'not selected', it is former version 1
  23. WARNING: changing the HMAC calculation method or adding
  24. additional info to the calculation, requires existing EVM
  25. labeled file systems to be relabeled.
  26. config EVM_EXTRA_SMACK_XATTRS
  27. bool "Additional SMACK xattrs"
  28. depends on EVM && SECURITY_SMACK
  29. default n
  30. help
  31. Include additional SMACK xattrs for HMAC calculation.
  32. In addition to the original security xattrs (eg. security.selinux,
  33. security.SMACK64, security.capability, and security.ima) included
  34. in the HMAC calculation, enabling this option includes newly defined
  35. Smack xattrs: security.SMACK64EXEC, security.SMACK64TRANSMUTE and
  36. security.SMACK64MMAP.
  37. WARNING: changing the HMAC calculation method or adding
  38. additional info to the calculation, requires existing EVM
  39. labeled file systems to be relabeled.
  40. endmenu
  41. endif