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
10 config BUSYBOX_CONFIG_CHCON
12 default BUSYBOX_DEFAULT_CHCON
13 depends on BUSYBOX_CONFIG_SELINUX
15 Enable support to change the security context of file.
17 config BUSYBOX_CONFIG_FEATURE_CHCON_LONG_OPTIONS
18 bool "Enable long options"
19 default BUSYBOX_DEFAULT_FEATURE_CHCON_LONG_OPTIONS
20 depends on BUSYBOX_CONFIG_CHCON && BUSYBOX_CONFIG_LONG_OPTS
22 Support long options for the chcon applet.
23 config BUSYBOX_CONFIG_GETENFORCE
25 default BUSYBOX_DEFAULT_GETENFORCE
26 depends on BUSYBOX_CONFIG_SELINUX
28 Enable support to get the current mode of SELinux.
29 config BUSYBOX_CONFIG_GETSEBOOL
31 default BUSYBOX_DEFAULT_GETSEBOOL
32 depends on BUSYBOX_CONFIG_SELINUX
34 Enable support to get SELinux boolean values.
35 config BUSYBOX_CONFIG_LOAD_POLICY
37 default BUSYBOX_DEFAULT_LOAD_POLICY
38 depends on BUSYBOX_CONFIG_SELINUX
40 Enable support to load SELinux policy.
41 config BUSYBOX_CONFIG_MATCHPATHCON
43 default BUSYBOX_DEFAULT_MATCHPATHCON
44 depends on BUSYBOX_CONFIG_SELINUX
46 Enable support to get default security context of the
47 specified path from the file contexts configuration.
48 config BUSYBOX_CONFIG_RUNCON
50 default BUSYBOX_DEFAULT_RUNCON
51 depends on BUSYBOX_CONFIG_SELINUX
53 Enable support to run command in specified security context.
55 config BUSYBOX_CONFIG_FEATURE_RUNCON_LONG_OPTIONS
56 bool "Enable long options"
57 default BUSYBOX_DEFAULT_FEATURE_RUNCON_LONG_OPTIONS
58 depends on BUSYBOX_CONFIG_RUNCON && BUSYBOX_CONFIG_LONG_OPTS
60 Support long options for the runcon applet.
61 config BUSYBOX_CONFIG_SELINUXENABLED
63 default BUSYBOX_DEFAULT_SELINUXENABLED
64 depends on BUSYBOX_CONFIG_SELINUX
66 Enable support for this command to be used within shell scripts
67 to determine if selinux is enabled.
68 config BUSYBOX_CONFIG_SESTATUS
70 default BUSYBOX_DEFAULT_SESTATUS
71 depends on BUSYBOX_CONFIG_SELINUX
73 Displays the status of SELinux.
74 config BUSYBOX_CONFIG_SETENFORCE
76 default BUSYBOX_DEFAULT_SETENFORCE
77 depends on BUSYBOX_CONFIG_SELINUX
79 Enable support to modify the mode SELinux is running in.
80 config BUSYBOX_CONFIG_SETFILES
82 default BUSYBOX_DEFAULT_SETFILES
83 depends on BUSYBOX_CONFIG_SELINUX
85 Enable support to modify to relabel files.
86 Notice: If you built libselinux with -D_FILE_OFFSET_BITS=64,
87 (It is default in libselinux's Makefile), you _must_ enable
90 config BUSYBOX_CONFIG_FEATURE_SETFILES_CHECK_OPTION
91 bool "Enable check option"
92 default BUSYBOX_DEFAULT_FEATURE_SETFILES_CHECK_OPTION
93 depends on BUSYBOX_CONFIG_SETFILES
95 Support "-c" option (check the validity of the contexts against
96 the specified binary policy) for setfiles. Requires libsepol.
98 config BUSYBOX_CONFIG_RESTORECON
100 default BUSYBOX_DEFAULT_RESTORECON
101 depends on BUSYBOX_CONFIG_SELINUX
103 Enable support to relabel files. The feature is almost
104 the same as setfiles, but usage is a little different.
105 config BUSYBOX_CONFIG_SETSEBOOL
107 default BUSYBOX_DEFAULT_SETSEBOOL
108 depends on BUSYBOX_CONFIG_SELINUX
110 Enable support for change boolean.
111 semanage and -P option is not supported yet.