busybox: update to 1.26.2
[openwrt/staging/blogic.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 help
22 Support long options for the chcon applet.
23 config BUSYBOX_CONFIG_GETENFORCE
24 bool "getenforce"
25 default BUSYBOX_DEFAULT_GETENFORCE
26 depends on BUSYBOX_CONFIG_SELINUX
27 help
28 Enable support to get the current mode of SELinux.
29 config BUSYBOX_CONFIG_GETSEBOOL
30 bool "getsebool"
31 default BUSYBOX_DEFAULT_GETSEBOOL
32 depends on BUSYBOX_CONFIG_SELINUX
33 help
34 Enable support to get SELinux boolean values.
35 config BUSYBOX_CONFIG_LOAD_POLICY
36 bool "load_policy"
37 default BUSYBOX_DEFAULT_LOAD_POLICY
38 depends on BUSYBOX_CONFIG_SELINUX
39 help
40 Enable support to load SELinux policy.
41 config BUSYBOX_CONFIG_MATCHPATHCON
42 bool "matchpathcon"
43 default BUSYBOX_DEFAULT_MATCHPATHCON
44 depends on BUSYBOX_CONFIG_SELINUX
45 help
46 Enable support to get default security context of the
47 specified path from the file contexts configuration.
48 config BUSYBOX_CONFIG_RUNCON
49 bool "runcon"
50 default BUSYBOX_DEFAULT_RUNCON
51 depends on BUSYBOX_CONFIG_SELINUX
52 help
53 Enable support to run command in specified security context.
54
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
59 help
60 Support long options for the runcon applet.
61 config BUSYBOX_CONFIG_SELINUXENABLED
62 bool "selinuxenabled"
63 default BUSYBOX_DEFAULT_SELINUXENABLED
64 depends on BUSYBOX_CONFIG_SELINUX
65 help
66 Enable support for this command to be used within shell scripts
67 to determine if selinux is enabled.
68 config BUSYBOX_CONFIG_SESTATUS
69 bool "sestatus"
70 default BUSYBOX_DEFAULT_SESTATUS
71 depends on BUSYBOX_CONFIG_SELINUX
72 help
73 Displays the status of SELinux.
74 config BUSYBOX_CONFIG_SETENFORCE
75 bool "setenforce"
76 default BUSYBOX_DEFAULT_SETENFORCE
77 depends on BUSYBOX_CONFIG_SELINUX
78 help
79 Enable support to modify the mode SELinux is running in.
80 config BUSYBOX_CONFIG_SETFILES
81 bool "setfiles"
82 default BUSYBOX_DEFAULT_SETFILES
83 depends on BUSYBOX_CONFIG_SELINUX
84 help
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
88 CONFIG_LFS.
89
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
94 help
95 Support "-c" option (check the validity of the contexts against
96 the specified binary policy) for setfiles. Requires libsepol.
97
98 config BUSYBOX_CONFIG_RESTORECON
99 bool "restorecon"
100 default BUSYBOX_DEFAULT_RESTORECON
101 depends on BUSYBOX_CONFIG_SELINUX
102 help
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
106 bool "setsebool"
107 default BUSYBOX_DEFAULT_SETSEBOOL
108 depends on BUSYBOX_CONFIG_SELINUX
109 help
110 Enable support for change boolean.
111 semanage and -P option is not supported yet.
112
113 endmenu