1d23f7de43a934902053cdfe992e4937f2e136ec
[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
11 config BUSYBOX_CONFIG_CHCON
12 bool "chcon"
13 default BUSYBOX_DEFAULT_CHCON
14 depends on BUSYBOX_CONFIG_SELINUX
15 help
16 Enable support to change the security context of file.
17
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
22 help
23 Support long options for the chcon applet.
24
25 config BUSYBOX_CONFIG_GETENFORCE
26 bool "getenforce"
27 default BUSYBOX_DEFAULT_GETENFORCE
28 depends on BUSYBOX_CONFIG_SELINUX
29 help
30 Enable support to get the current mode of SELinux.
31
32 config BUSYBOX_CONFIG_GETSEBOOL
33 bool "getsebool"
34 default BUSYBOX_DEFAULT_GETSEBOOL
35 depends on BUSYBOX_CONFIG_SELINUX
36 help
37 Enable support to get SELinux boolean values.
38
39 config BUSYBOX_CONFIG_LOAD_POLICY
40 bool "load_policy"
41 default BUSYBOX_DEFAULT_LOAD_POLICY
42 depends on BUSYBOX_CONFIG_SELINUX
43 help
44 Enable support to load SELinux policy.
45
46 config BUSYBOX_CONFIG_MATCHPATHCON
47 bool "matchpathcon"
48 default BUSYBOX_DEFAULT_MATCHPATHCON
49 depends on BUSYBOX_CONFIG_SELINUX
50 help
51 Enable support to get default security context of the
52 specified path from the file contexts configuration.
53
54 config BUSYBOX_CONFIG_RESTORECON
55 bool "restorecon"
56 default BUSYBOX_DEFAULT_RESTORECON
57 depends on BUSYBOX_CONFIG_SELINUX
58 help
59 Enable support to relabel files. The feature is almost
60 the same as setfiles, but usage is a little different.
61
62 config BUSYBOX_CONFIG_RUNCON
63 bool "runcon"
64 default BUSYBOX_DEFAULT_RUNCON
65 depends on BUSYBOX_CONFIG_SELINUX
66 help
67 Enable support to run command in specified security context.
68
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
73 help
74 Support long options for the runcon applet.
75
76 config BUSYBOX_CONFIG_SELINUXENABLED
77 bool "selinuxenabled"
78 default BUSYBOX_DEFAULT_SELINUXENABLED
79 depends on BUSYBOX_CONFIG_SELINUX
80 help
81 Enable support for this command to be used within shell scripts
82 to determine if selinux is enabled.
83
84 config BUSYBOX_CONFIG_SETENFORCE
85 bool "setenforce"
86 default BUSYBOX_DEFAULT_SETENFORCE
87 depends on BUSYBOX_CONFIG_SELINUX
88 help
89 Enable support to modify the mode SELinux is running in.
90
91 config BUSYBOX_CONFIG_SETFILES
92 bool "setfiles"
93 default BUSYBOX_DEFAULT_SETFILES
94 depends on BUSYBOX_CONFIG_SELINUX
95 help
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
99 CONFIG_LFS.
100
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
105 help
106 Support "-c" option (check the validity of the contexts against
107 the specified binary policy) for setfiles. Requires libsepol.
108
109 config BUSYBOX_CONFIG_SETSEBOOL
110 bool "setsebool"
111 default BUSYBOX_DEFAULT_SETSEBOOL
112 depends on BUSYBOX_CONFIG_SELINUX
113 help
114 Enable support for change boolean.
115 semanage and -P option is not supported yet.
116
117 config BUSYBOX_CONFIG_SESTATUS
118 bool "sestatus"
119 default BUSYBOX_DEFAULT_SESTATUS
120 depends on BUSYBOX_CONFIG_SELINUX
121 help
122 Displays the status of SELinux.
123
124 endmenu