Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. #
  2. # Security configuration
  3. #
  4. menu "Security options"
  5. config KEYS
  6. bool "Enable access key retention support"
  7. help
  8. This option provides support for retaining authentication tokens and
  9. access keys in the kernel.
  10. It also includes provision of methods by which such keys might be
  11. associated with a process so that network filesystems, encryption
  12. support and the like can find them.
  13. Furthermore, a special type of key is available that acts as keyring:
  14. a searchable sequence of keys. Each process is equipped with access
  15. to five standard keyrings: UID-specific, GID-specific, session,
  16. process and thread.
  17. If you are unsure as to whether this is required, answer N.
  18. config KEYS_DEBUG_PROC_KEYS
  19. bool "Enable the /proc/keys file by which keys may be viewed"
  20. depends on KEYS
  21. help
  22. This option turns on support for the /proc/keys file - through which
  23. can be listed all the keys on the system that are viewable by the
  24. reading process.
  25. The only keys included in the list are those that grant View
  26. permission to the reading process whether or not it possesses them.
  27. Note that LSM security checks are still performed, and may further
  28. filter out keys that the current process is not authorised to view.
  29. Only key attributes are listed here; key payloads are not included in
  30. the resulting table.
  31. If you are unsure as to whether this is required, answer N.
  32. config SECURITY
  33. bool "Enable different security models"
  34. depends on SYSFS
  35. help
  36. This allows you to choose different security modules to be
  37. configured into your kernel.
  38. If this option is not selected, the default Linux security
  39. model will be used.
  40. If you are unsure how to answer this question, answer N.
  41. config SECURITYFS
  42. bool "Enable the securityfs filesystem"
  43. help
  44. This will build the securityfs filesystem. It is currently used by
  45. the TPM bios character driver and IMA, an integrity provider. It is
  46. not used by SELinux or SMACK.
  47. If you are unsure how to answer this question, answer N.
  48. config SECURITY_NETWORK
  49. bool "Socket and Networking Security Hooks"
  50. depends on SECURITY
  51. help
  52. This enables the socket and networking security hooks.
  53. If enabled, a security module can use these hooks to
  54. implement socket and networking access controls.
  55. If you are unsure how to answer this question, answer N.
  56. config SECURITY_NETWORK_XFRM
  57. bool "XFRM (IPSec) Networking Security Hooks"
  58. depends on XFRM && SECURITY_NETWORK
  59. help
  60. This enables the XFRM (IPSec) networking security hooks.
  61. If enabled, a security module can use these hooks to
  62. implement per-packet access controls based on labels
  63. derived from IPSec policy. Non-IPSec communications are
  64. designated as unlabelled, and only sockets authorized
  65. to communicate unlabelled data can send without using
  66. IPSec.
  67. If you are unsure how to answer this question, answer N.
  68. config SECURITY_PATH
  69. bool "Security hooks for pathname based access control"
  70. depends on SECURITY
  71. help
  72. This enables the security hooks for pathname based access control.
  73. If enabled, a security module can use these hooks to
  74. implement pathname based access controls.
  75. If you are unsure how to answer this question, answer N.
  76. config SECURITY_FILE_CAPABILITIES
  77. bool "File POSIX Capabilities"
  78. default n
  79. help
  80. This enables filesystem capabilities, allowing you to give
  81. binaries a subset of root's powers without using setuid 0.
  82. If in doubt, answer N.
  83. config SECURITY_ROOTPLUG
  84. bool "Root Plug Support"
  85. depends on USB=y && SECURITY
  86. help
  87. This is a sample LSM module that should only be used as such.
  88. It prevents any programs running with egid == 0 if a specific
  89. USB device is not present in the system.
  90. See <http://www.linuxjournal.com/article.php?sid=6279> for
  91. more information about this module.
  92. If you are unsure how to answer this question, answer N.
  93. source security/selinux/Kconfig
  94. source security/smack/Kconfig
  95. source security/tomoyo/Kconfig
  96. source security/integrity/ima/Kconfig
  97. endmenu