xref: /openbmc/linux/security/Kconfig (revision 06ec7be5)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Security configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsmenu "Security options"
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsconfig KEYS
81da177e4SLinus Torvalds	bool "Enable access key retention support"
91da177e4SLinus Torvalds	help
101da177e4SLinus Torvalds	  This option provides support for retaining authentication tokens and
111da177e4SLinus Torvalds	  access keys in the kernel.
121da177e4SLinus Torvalds
131da177e4SLinus Torvalds	  It also includes provision of methods by which such keys might be
141da177e4SLinus Torvalds	  associated with a process so that network filesystems, encryption
151da177e4SLinus Torvalds	  support and the like can find them.
161da177e4SLinus Torvalds
171da177e4SLinus Torvalds	  Furthermore, a special type of key is available that acts as keyring:
181da177e4SLinus Torvalds	  a searchable sequence of keys. Each process is equipped with access
191da177e4SLinus Torvalds	  to five standard keyrings: UID-specific, GID-specific, session,
201da177e4SLinus Torvalds	  process and thread.
211da177e4SLinus Torvalds
221da177e4SLinus Torvalds	  If you are unsure as to whether this is required, answer N.
231da177e4SLinus Torvalds
241da177e4SLinus Torvaldsconfig KEYS_DEBUG_PROC_KEYS
2506ec7be5SMichael LeMay	bool "Enable the /proc/keys file by which keys may be viewed"
261da177e4SLinus Torvalds	depends on KEYS
271da177e4SLinus Torvalds	help
2806ec7be5SMichael LeMay	  This option turns on support for the /proc/keys file - through which
2906ec7be5SMichael LeMay	  can be listed all the keys on the system that are viewable by the
3006ec7be5SMichael LeMay	  reading process.
311da177e4SLinus Torvalds
3206ec7be5SMichael LeMay	  The only keys included in the list are those that grant View
3306ec7be5SMichael LeMay	  permission to the reading process whether or not it possesses them.
3406ec7be5SMichael LeMay	  Note that LSM security checks are still performed, and may further
3506ec7be5SMichael LeMay	  filter out keys that the current process is not authorised to view.
3606ec7be5SMichael LeMay
3706ec7be5SMichael LeMay	  Only key attributes are listed here; key payloads are not included in
3806ec7be5SMichael LeMay	  the resulting table.
3906ec7be5SMichael LeMay
4006ec7be5SMichael LeMay	  If you are unsure as to whether this is required, answer N.
411da177e4SLinus Torvalds
421da177e4SLinus Torvaldsconfig SECURITY
431da177e4SLinus Torvalds	bool "Enable different security models"
442c40579bSAdrian Bunk	depends on SYSFS
451da177e4SLinus Torvalds	help
461da177e4SLinus Torvalds	  This allows you to choose different security modules to be
471da177e4SLinus Torvalds	  configured into your kernel.
481da177e4SLinus Torvalds
491da177e4SLinus Torvalds	  If this option is not selected, the default Linux security
501da177e4SLinus Torvalds	  model will be used.
511da177e4SLinus Torvalds
521da177e4SLinus Torvalds	  If you are unsure how to answer this question, answer N.
531da177e4SLinus Torvalds
541da177e4SLinus Torvaldsconfig SECURITY_NETWORK
551da177e4SLinus Torvalds	bool "Socket and Networking Security Hooks"
561da177e4SLinus Torvalds	depends on SECURITY
571da177e4SLinus Torvalds	help
581da177e4SLinus Torvalds	  This enables the socket and networking security hooks.
591da177e4SLinus Torvalds	  If enabled, a security module can use these hooks to
601da177e4SLinus Torvalds	  implement socket and networking access controls.
611da177e4SLinus Torvalds	  If you are unsure how to answer this question, answer N.
621da177e4SLinus Torvalds
63df71837dSTrent Jaegerconfig SECURITY_NETWORK_XFRM
64df71837dSTrent Jaeger	bool "XFRM (IPSec) Networking Security Hooks"
65df71837dSTrent Jaeger	depends on XFRM && SECURITY_NETWORK
66df71837dSTrent Jaeger	help
67df71837dSTrent Jaeger	  This enables the XFRM (IPSec) networking security hooks.
68df71837dSTrent Jaeger	  If enabled, a security module can use these hooks to
69df71837dSTrent Jaeger	  implement per-packet access controls based on labels
70df71837dSTrent Jaeger	  derived from IPSec policy.  Non-IPSec communications are
71df71837dSTrent Jaeger	  designated as unlabelled, and only sockets authorized
72df71837dSTrent Jaeger	  to communicate unlabelled data can send without using
73df71837dSTrent Jaeger	  IPSec.
74df71837dSTrent Jaeger	  If you are unsure how to answer this question, answer N.
75df71837dSTrent Jaeger
761da177e4SLinus Torvaldsconfig SECURITY_CAPABILITIES
771da177e4SLinus Torvalds	tristate "Default Linux Capabilities"
781da177e4SLinus Torvalds	depends on SECURITY
791da177e4SLinus Torvalds	help
801da177e4SLinus Torvalds	  This enables the "default" Linux capabilities functionality.
811da177e4SLinus Torvalds	  If you are unsure how to answer this question, answer Y.
821da177e4SLinus Torvalds
831da177e4SLinus Torvaldsconfig SECURITY_ROOTPLUG
841da177e4SLinus Torvalds	tristate "Root Plug Support"
851da177e4SLinus Torvalds	depends on USB && SECURITY
861da177e4SLinus Torvalds	help
871da177e4SLinus Torvalds	  This is a sample LSM module that should only be used as such.
881da177e4SLinus Torvalds	  It prevents any programs running with egid == 0 if a specific
891da177e4SLinus Torvalds	  USB device is not present in the system.
901da177e4SLinus Torvalds
911da177e4SLinus Torvalds	  See <http://www.linuxjournal.com/article.php?sid=6279> for
921da177e4SLinus Torvalds	  more information about this module.
931da177e4SLinus Torvalds
941da177e4SLinus Torvalds	  If you are unsure how to answer this question, answer N.
951da177e4SLinus Torvalds
961da177e4SLinus Torvaldsconfig SECURITY_SECLVL
971da177e4SLinus Torvalds	tristate "BSD Secure Levels"
981da177e4SLinus Torvalds	depends on SECURITY
991da177e4SLinus Torvalds	select CRYPTO
1001da177e4SLinus Torvalds	select CRYPTO_SHA1
1011da177e4SLinus Torvalds	help
1021da177e4SLinus Torvalds	  Implements BSD Secure Levels as an LSM.  See
1031da177e4SLinus Torvalds	  <file:Documentation/seclvl.txt> for instructions on how to use this
1041da177e4SLinus Torvalds	  module.
1051da177e4SLinus Torvalds
1061da177e4SLinus Torvalds	  If you are unsure how to answer this question, answer N.
1071da177e4SLinus Torvalds
1081da177e4SLinus Torvaldssource security/selinux/Kconfig
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvaldsendmenu
1111da177e4SLinus Torvalds
112