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
21 config BUSYBOX_CONFIG_GETENFORCE
23 default BUSYBOX_DEFAULT_GETENFORCE
24 depends on BUSYBOX_CONFIG_SELINUX
26 Enable support to get the current mode of SELinux.
27 config BUSYBOX_CONFIG_GETSEBOOL
29 default BUSYBOX_DEFAULT_GETSEBOOL
30 depends on BUSYBOX_CONFIG_SELINUX
32 Enable support to get SELinux boolean values.
33 config BUSYBOX_CONFIG_LOAD_POLICY
35 default BUSYBOX_DEFAULT_LOAD_POLICY
36 depends on BUSYBOX_CONFIG_SELINUX
38 Enable support to load SELinux policy.
39 config BUSYBOX_CONFIG_MATCHPATHCON
41 default BUSYBOX_DEFAULT_MATCHPATHCON
42 depends on BUSYBOX_CONFIG_SELINUX
44 Enable support to get default security context of the
45 specified path from the file contexts configuration.
46 config BUSYBOX_CONFIG_RUNCON
48 default BUSYBOX_DEFAULT_RUNCON
49 depends on BUSYBOX_CONFIG_SELINUX
51 Enable support to run command in specified security context.
53 config BUSYBOX_CONFIG_FEATURE_RUNCON_LONG_OPTIONS
54 bool "Enable long options"
55 default BUSYBOX_DEFAULT_FEATURE_RUNCON_LONG_OPTIONS
56 depends on BUSYBOX_CONFIG_RUNCON && BUSYBOX_CONFIG_LONG_OPTS
57 config BUSYBOX_CONFIG_SELINUXENABLED
59 default BUSYBOX_DEFAULT_SELINUXENABLED
60 depends on BUSYBOX_CONFIG_SELINUX
62 Enable support for this command to be used within shell scripts
63 to determine if selinux is enabled.
64 config BUSYBOX_CONFIG_SESTATUS
66 default BUSYBOX_DEFAULT_SESTATUS
67 depends on BUSYBOX_CONFIG_SELINUX
69 Displays the status of SELinux.
70 config BUSYBOX_CONFIG_SETENFORCE
72 default BUSYBOX_DEFAULT_SETENFORCE
73 depends on BUSYBOX_CONFIG_SELINUX
75 Enable support to modify the mode SELinux is running in.
76 config BUSYBOX_CONFIG_SETFILES
78 default BUSYBOX_DEFAULT_SETFILES
79 depends on BUSYBOX_CONFIG_SELINUX
81 Enable support to modify to relabel files.
82 Notice: If you built libselinux with -D_FILE_OFFSET_BITS=64,
83 (It is default in libselinux's Makefile), you _must_ enable
86 config BUSYBOX_CONFIG_FEATURE_SETFILES_CHECK_OPTION
87 bool "Enable check option"
88 default BUSYBOX_DEFAULT_FEATURE_SETFILES_CHECK_OPTION
89 depends on BUSYBOX_CONFIG_SETFILES
91 Support "-c" option (check the validity of the contexts against
92 the specified binary policy) for setfiles. Requires libsepol.
94 config BUSYBOX_CONFIG_RESTORECON
96 default BUSYBOX_DEFAULT_RESTORECON
97 depends on BUSYBOX_CONFIG_SELINUX
99 Enable support to relabel files. The feature is almost
100 the same as setfiles, but usage is a little different.
101 config BUSYBOX_CONFIG_SETSEBOOL
103 default BUSYBOX_DEFAULT_SETSEBOOL
104 depends on BUSYBOX_CONFIG_SELINUX
106 Enable support for change boolean.
107 semanage and -P option is not supported yet.