busybox: update to 1.27.2
[openwrt/openwrt.git] / package / utils / busybox / config / selinux / Config.in
1 # DO NOT EDIT. This file is generated from Config.src
2 #
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-language.txt.
5 #
6
7 menu "SELinux Utilities"
8 depends on BUSYBOX_CONFIG_SELINUX
9
10 config BUSYBOX_CONFIG_CHCON
11 bool "chcon"
12 default BUSYBOX_DEFAULT_CHCON
13 depends on BUSYBOX_CONFIG_SELINUX
14 help
15 Enable support to change the security context of file.
16
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
22 bool "getenforce"
23 default BUSYBOX_DEFAULT_GETENFORCE
24 depends on BUSYBOX_CONFIG_SELINUX
25 help
26 Enable support to get the current mode of SELinux.
27 config BUSYBOX_CONFIG_GETSEBOOL
28 bool "getsebool"
29 default BUSYBOX_DEFAULT_GETSEBOOL
30 depends on BUSYBOX_CONFIG_SELINUX
31 help
32 Enable support to get SELinux boolean values.
33 config BUSYBOX_CONFIG_LOAD_POLICY
34 bool "load_policy"
35 default BUSYBOX_DEFAULT_LOAD_POLICY
36 depends on BUSYBOX_CONFIG_SELINUX
37 help
38 Enable support to load SELinux policy.
39 config BUSYBOX_CONFIG_MATCHPATHCON
40 bool "matchpathcon"
41 default BUSYBOX_DEFAULT_MATCHPATHCON
42 depends on BUSYBOX_CONFIG_SELINUX
43 help
44 Enable support to get default security context of the
45 specified path from the file contexts configuration.
46 config BUSYBOX_CONFIG_RUNCON
47 bool "runcon"
48 default BUSYBOX_DEFAULT_RUNCON
49 depends on BUSYBOX_CONFIG_SELINUX
50 help
51 Enable support to run command in specified security context.
52
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
58 bool "selinuxenabled"
59 default BUSYBOX_DEFAULT_SELINUXENABLED
60 depends on BUSYBOX_CONFIG_SELINUX
61 help
62 Enable support for this command to be used within shell scripts
63 to determine if selinux is enabled.
64 config BUSYBOX_CONFIG_SESTATUS
65 bool "sestatus"
66 default BUSYBOX_DEFAULT_SESTATUS
67 depends on BUSYBOX_CONFIG_SELINUX
68 help
69 Displays the status of SELinux.
70 config BUSYBOX_CONFIG_SETENFORCE
71 bool "setenforce"
72 default BUSYBOX_DEFAULT_SETENFORCE
73 depends on BUSYBOX_CONFIG_SELINUX
74 help
75 Enable support to modify the mode SELinux is running in.
76 config BUSYBOX_CONFIG_SETFILES
77 bool "setfiles"
78 default BUSYBOX_DEFAULT_SETFILES
79 depends on BUSYBOX_CONFIG_SELINUX
80 help
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
84 CONFIG_LFS.
85
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
90 help
91 Support "-c" option (check the validity of the contexts against
92 the specified binary policy) for setfiles. Requires libsepol.
93
94 config BUSYBOX_CONFIG_RESTORECON
95 bool "restorecon"
96 default BUSYBOX_DEFAULT_RESTORECON
97 depends on BUSYBOX_CONFIG_SELINUX
98 help
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
102 bool "setsebool"
103 default BUSYBOX_DEFAULT_SETSEBOOL
104 depends on BUSYBOX_CONFIG_SELINUX
105 help
106 Enable support for change boolean.
107 semanage and -P option is not supported yet.
108
109 endmenu