Kconfig 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. config SECURITY_APPARMOR
  2. bool "AppArmor support"
  3. depends on SECURITY && NET
  4. select AUDIT
  5. select SECURITY_PATH
  6. select SECURITYFS
  7. select SECURITY_NETWORK
  8. default n
  9. help
  10. This enables the AppArmor security module.
  11. Required userspace tools (if they are not included in your
  12. distribution) and further information may be found at
  13. http://apparmor.wiki.kernel.org
  14. If you are unsure how to answer this question, answer N.
  15. config SECURITY_APPARMOR_BOOTPARAM_VALUE
  16. int "AppArmor boot parameter default value"
  17. depends on SECURITY_APPARMOR
  18. range 0 1
  19. default 1
  20. help
  21. This option sets the default value for the kernel parameter
  22. 'apparmor', which allows AppArmor to be enabled or disabled
  23. at boot. If this option is set to 0 (zero), the AppArmor
  24. kernel parameter will default to 0, disabling AppArmor at
  25. boot. If this option is set to 1 (one), the AppArmor
  26. kernel parameter will default to 1, enabling AppArmor at
  27. boot.
  28. If you are unsure how to answer this question, answer 1.
  29. config SECURITY_APPARMOR_HASH
  30. bool "SHA1 hash of loaded profiles"
  31. depends on SECURITY_APPARMOR
  32. select CRYPTO
  33. select CRYPTO_SHA1
  34. default y
  35. help
  36. This option selects whether sha1 hashing is done against loaded
  37. profiles and exported for inspection to user space via the apparmor
  38. filesystem.