Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # IBM Integrity Measurement Architecture
  2. #
  3. config IMA
  4. bool "Integrity Measurement Architecture(IMA)"
  5. depends on SECURITY
  6. select INTEGRITY
  7. select SECURITYFS
  8. select CRYPTO
  9. select CRYPTO_HMAC
  10. select CRYPTO_MD5
  11. select CRYPTO_SHA1
  12. select TCG_TPM if HAS_IOMEM && !UML
  13. select TCG_TIS if TCG_TPM && X86
  14. select TCG_IBMVTPM if TCG_TPM && PPC64
  15. help
  16. The Trusted Computing Group(TCG) runtime Integrity
  17. Measurement Architecture(IMA) maintains a list of hash
  18. values of executables and other sensitive system files,
  19. as they are read or executed. If an attacker manages
  20. to change the contents of an important system file
  21. being measured, we can tell.
  22. If your system has a TPM chip, then IMA also maintains
  23. an aggregate integrity value over this list inside the
  24. TPM hardware, so that the TPM can prove to a third party
  25. whether or not critical system files have been modified.
  26. Read <http://www.usenix.org/events/sec04/tech/sailer.html>
  27. to learn more about IMA.
  28. If unsure, say N.
  29. config IMA_MEASURE_PCR_IDX
  30. int
  31. depends on IMA
  32. range 8 14
  33. default 10
  34. help
  35. IMA_MEASURE_PCR_IDX determines the TPM PCR register index
  36. that IMA uses to maintain the integrity aggregate of the
  37. measurement list. If unsure, use the default 10.
  38. config IMA_AUDIT
  39. bool "Enables auditing support"
  40. depends on IMA
  41. depends on AUDIT
  42. default y
  43. help
  44. This option adds a kernel parameter 'ima_audit', which
  45. allows informational auditing messages to be enabled
  46. at boot. If this option is selected, informational integrity
  47. auditing messages can be enabled with 'ima_audit=1' on
  48. the kernel command line.
  49. config IMA_LSM_RULES
  50. bool
  51. depends on IMA && AUDIT && (SECURITY_SELINUX || SECURITY_SMACK)
  52. default y
  53. help
  54. Disabling this option will disregard LSM based policy rules.
  55. config IMA_APPRAISE
  56. bool "Appraise integrity measurements"
  57. depends on IMA
  58. default n
  59. help
  60. This option enables local measurement integrity appraisal.
  61. It requires the system to be labeled with a security extended
  62. attribute containing the file hash measurement. To protect
  63. the security extended attributes from offline attack, enable
  64. and configure EVM.
  65. For more information on integrity appraisal refer to:
  66. <http://linux-ima.sourceforge.net>
  67. If unsure, say N.