xref: /openbmc/linux/security/Kconfig (revision 87c2ce3b)
1#
2# Security configuration
3#
4
5menu "Security options"
6
7config KEYS
8	bool "Enable access key retention support"
9	help
10	  This option provides support for retaining authentication tokens and
11	  access keys in the kernel.
12
13	  It also includes provision of methods by which such keys might be
14	  associated with a process so that network filesystems, encryption
15	  support and the like can find them.
16
17	  Furthermore, a special type of key is available that acts as keyring:
18	  a searchable sequence of keys. Each process is equipped with access
19	  to five standard keyrings: UID-specific, GID-specific, session,
20	  process and thread.
21
22	  If you are unsure as to whether this is required, answer N.
23
24config KEYS_DEBUG_PROC_KEYS
25	bool "Enable the /proc/keys file by which all keys may be viewed"
26	depends on KEYS
27	help
28	  This option turns on support for the /proc/keys file through which
29	  all the keys on the system can be listed.
30
31	  This option is a slight security risk in that it makes it possible
32	  for anyone to see all the keys on the system. Normally the manager
33	  pretends keys that are inaccessible to a process don't exist as far
34	  as that process is concerned.
35
36config SECURITY
37	bool "Enable different security models"
38	depends on SYSFS
39	help
40	  This allows you to choose different security modules to be
41	  configured into your kernel.
42
43	  If this option is not selected, the default Linux security
44	  model will be used.
45
46	  If you are unsure how to answer this question, answer N.
47
48config 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
57config SECURITY_NETWORK_XFRM
58	bool "XFRM (IPSec) Networking Security Hooks"
59	depends on XFRM && SECURITY_NETWORK
60	help
61	  This enables the XFRM (IPSec) networking security hooks.
62	  If enabled, a security module can use these hooks to
63	  implement per-packet access controls based on labels
64	  derived from IPSec policy.  Non-IPSec communications are
65	  designated as unlabelled, and only sockets authorized
66	  to communicate unlabelled data can send without using
67	  IPSec.
68	  If you are unsure how to answer this question, answer N.
69
70config SECURITY_CAPABILITIES
71	tristate "Default Linux Capabilities"
72	depends on SECURITY
73	help
74	  This enables the "default" Linux capabilities functionality.
75	  If you are unsure how to answer this question, answer Y.
76
77config SECURITY_ROOTPLUG
78	tristate "Root Plug Support"
79	depends on USB && SECURITY
80	help
81	  This is a sample LSM module that should only be used as such.
82	  It prevents any programs running with egid == 0 if a specific
83	  USB device is not present in the system.
84
85	  See <http://www.linuxjournal.com/article.php?sid=6279> for
86	  more information about this module.
87
88	  If you are unsure how to answer this question, answer N.
89
90config SECURITY_SECLVL
91	tristate "BSD Secure Levels"
92	depends on SECURITY
93	select CRYPTO
94	select CRYPTO_SHA1
95	help
96	  Implements BSD Secure Levels as an LSM.  See
97	  <file:Documentation/seclvl.txt> for instructions on how to use this
98	  module.
99
100	  If you are unsure how to answer this question, answer N.
101
102source security/selinux/Kconfig
103
104endmenu
105
106