1 config SECURITY_SELINUX
2 bool "NSA SELinux Support"
3 depends on SECURITY && NET
6 This selects NSA Security-Enhanced Linux (SELinux).
7 You will also need a policy configuration and a labeled filesystem.
8 You can obtain the policy compiler (checkpolicy), the utility for
9 labeling filesystems (setfiles), and an example policy configuration
10 from <http://www.nsa.gov/selinux/>.
11 If you are unsure how to answer this question, answer N.
13 config SECURITY_SELINUX_BOOTPARAM
14 bool "NSA SELinux boot parameter"
15 depends on SECURITY_SELINUX
18 This option adds a kernel parameter 'selinux', which allows SELinux
19 to be disabled at boot. If this option is selected, SELinux
20 functionality can be disabled with selinux=0 on the kernel
21 command line. The purpose of this option is to allow a single
22 kernel image to be distributed with SELinux built in, but not
25 If you are unsure how to answer this question, answer N.
27 config SECURITY_SELINUX_DISABLE
28 bool "NSA SELinux runtime disable"
29 depends on SECURITY_SELINUX
32 This option enables writing to a selinuxfs node 'disable', which
33 allows SELinux to be disabled at runtime prior to the policy load.
34 SELinux will then remain disabled until the next boot.
35 This option is similar to the selinux=0 boot parameter, but is to
36 support runtime disabling of SELinux, e.g. from /sbin/init, for
37 portability across platforms where boot parameters are difficult
40 If you are unsure how to answer this question, answer N.
42 config SECURITY_SELINUX_DEVELOP
43 bool "NSA SELinux Development Support"
44 depends on SECURITY_SELINUX
47 This enables the development support option of NSA SELinux,
48 which is useful for experimenting with SELinux and developing
49 policies. If unsure, say Y. With this option enabled, the
50 kernel will start in permissive mode (log everything, deny nothing)
51 unless you specify enforcing=1 on the kernel command line. You
52 can interactively toggle the kernel between enforcing mode and
53 permissive mode (if permitted by the policy) via /selinux/enforce.
55 config SECURITY_SELINUX_MLS
56 bool "NSA SELinux MLS policy (EXPERIMENTAL)"
57 depends on SECURITY_SELINUX && EXPERIMENTAL
60 This enables the NSA SELinux Multi-Level Security (MLS) policy in
61 addition to the default RBAC/TE policy. This policy is
62 experimental and has not been configured for use. Unless you
63 specifically want to experiment with MLS, say N.