Kconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. help
  15. The Trusted Computing Group(TCG) runtime Integrity
  16. Measurement Architecture(IMA) maintains a list of hash
  17. values of executables and other sensitive system files,
  18. as they are read or executed. If an attacker manages
  19. to change the contents of an important system file
  20. being measured, we can tell.
  21. If your system has a TPM chip, then IMA also maintains
  22. an aggregate integrity value over this list inside the
  23. TPM hardware, so that the TPM can prove to a third party
  24. whether or not critical system files have been modified.
  25. Read <http://www.usenix.org/events/sec04/tech/sailer.html>
  26. to learn more about IMA.
  27. If unsure, say N.
  28. config IMA_MEASURE_PCR_IDX
  29. int
  30. depends on IMA
  31. range 8 14
  32. default 10
  33. help
  34. IMA_MEASURE_PCR_IDX determines the TPM PCR register index
  35. that IMA uses to maintain the integrity aggregate of the
  36. measurement list. If unsure, use the default 10.
  37. config IMA_AUDIT
  38. bool
  39. depends on IMA
  40. default y
  41. help
  42. This option adds a kernel parameter 'ima_audit', which
  43. allows informational auditing messages to be enabled
  44. at boot. If this option is selected, informational integrity
  45. auditing messages can be enabled with 'ima_audit=1' on
  46. the kernel command line.
  47. config IMA_LSM_RULES
  48. bool
  49. depends on IMA && AUDIT && (SECURITY_SELINUX || SECURITY_SMACK)
  50. default y
  51. help
  52. Disabling this option will disregard LSM based policy rules.