1 # DO NOT EDIT. This file is generated from Config.src
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-language.txt.
7 menu "SELinux Utilities"
8 depends on BUSYBOX_CONFIG_SELINUX
11 config BUSYBOX_CONFIG_CHCON
13 default BUSYBOX_DEFAULT_CHCON
14 depends on BUSYBOX_CONFIG_SELINUX
16 Enable support to change the security context of file.
18 config BUSYBOX_CONFIG_FEATURE_CHCON_LONG_OPTIONS
19 bool "Enable long options"
20 default BUSYBOX_DEFAULT_FEATURE_CHCON_LONG_OPTIONS
21 depends on BUSYBOX_CONFIG_CHCON && BUSYBOX_CONFIG_LONG_OPTS
23 Support long options for the chcon applet.
25 config BUSYBOX_CONFIG_GETENFORCE
27 default BUSYBOX_DEFAULT_GETENFORCE
28 depends on BUSYBOX_CONFIG_SELINUX
30 Enable support to get the current mode of SELinux.
32 config BUSYBOX_CONFIG_GETSEBOOL
34 default BUSYBOX_DEFAULT_GETSEBOOL
35 depends on BUSYBOX_CONFIG_SELINUX
37 Enable support to get SELinux boolean values.
39 config BUSYBOX_CONFIG_LOAD_POLICY
41 default BUSYBOX_DEFAULT_LOAD_POLICY
42 depends on BUSYBOX_CONFIG_SELINUX
44 Enable support to load SELinux policy.
46 config BUSYBOX_CONFIG_MATCHPATHCON
48 default BUSYBOX_DEFAULT_MATCHPATHCON
49 depends on BUSYBOX_CONFIG_SELINUX
51 Enable support to get default security context of the
52 specified path from the file contexts configuration.
54 config BUSYBOX_CONFIG_RESTORECON
56 default BUSYBOX_DEFAULT_RESTORECON
57 depends on BUSYBOX_CONFIG_SELINUX
59 Enable support to relabel files. The feature is almost
60 the same as setfiles, but usage is a little different.
62 config BUSYBOX_CONFIG_RUNCON
64 default BUSYBOX_DEFAULT_RUNCON
65 depends on BUSYBOX_CONFIG_SELINUX
67 Enable support to run command in speficied security context.
69 config BUSYBOX_CONFIG_FEATURE_RUNCON_LONG_OPTIONS
70 bool "Enable long options"
71 default BUSYBOX_DEFAULT_FEATURE_RUNCON_LONG_OPTIONS
72 depends on BUSYBOX_CONFIG_RUNCON && BUSYBOX_CONFIG_LONG_OPTS
74 Support long options for the runcon applet.
76 config BUSYBOX_CONFIG_SELINUXENABLED
78 default BUSYBOX_DEFAULT_SELINUXENABLED
79 depends on BUSYBOX_CONFIG_SELINUX
81 Enable support for this command to be used within shell scripts
82 to determine if selinux is enabled.
84 config BUSYBOX_CONFIG_SETENFORCE
86 default BUSYBOX_DEFAULT_SETENFORCE
87 depends on BUSYBOX_CONFIG_SELINUX
89 Enable support to modify the mode SELinux is running in.
91 config BUSYBOX_CONFIG_SETFILES
93 default BUSYBOX_DEFAULT_SETFILES
94 depends on BUSYBOX_CONFIG_SELINUX
96 Enable support to modify to relabel files.
97 Notice: If you built libselinux with -D_FILE_OFFSET_BITS=64,
98 (It is default in libselinux's Makefile), you _must_ enable
101 config BUSYBOX_CONFIG_FEATURE_SETFILES_CHECK_OPTION
102 bool "Enable check option"
103 default BUSYBOX_DEFAULT_FEATURE_SETFILES_CHECK_OPTION
104 depends on BUSYBOX_CONFIG_SETFILES
106 Support "-c" option (check the validity of the contexts against
107 the specified binary policy) for setfiles. Requires libsepol.
109 config BUSYBOX_CONFIG_SETSEBOOL
111 default BUSYBOX_DEFAULT_SETSEBOOL
112 depends on BUSYBOX_CONFIG_SELINUX
114 Enable support for change boolean.
115 semanage and -P option is not supported yet.
117 config BUSYBOX_CONFIG_SESTATUS
119 default BUSYBOX_DEFAULT_SESTATUS
120 depends on BUSYBOX_CONFIG_SELINUX
122 Displays the status of SELinux.