Rebase from upstream commit : 3bb9dcf44627ffdd313fe92c563ae454b6ff8aa6
[librecmc/librecmc.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 docs/Kconfig-language.txt.
5 #
6
7 menu "SELinux Utilities"
8         depends on BUSYBOX_CONFIG_SELINUX
9
10 config BUSYBOX_CONFIG_CHCON
11         bool "chcon (8.9 kb)"
12         default BUSYBOX_DEFAULT_CHCON
13         depends on BUSYBOX_CONFIG_SELINUX
14         help
15         Enable support to change the security context of file.
16 config BUSYBOX_CONFIG_GETENFORCE
17         bool "getenforce (1.7 kb)"
18         default BUSYBOX_DEFAULT_GETENFORCE
19         depends on BUSYBOX_CONFIG_SELINUX
20         help
21         Enable support to get the current mode of SELinux.
22 config BUSYBOX_CONFIG_GETSEBOOL
23         bool "getsebool (5.5 kb)"
24         default BUSYBOX_DEFAULT_GETSEBOOL
25         depends on BUSYBOX_CONFIG_SELINUX
26         help
27         Enable support to get SELinux boolean values.
28 config BUSYBOX_CONFIG_LOAD_POLICY
29         bool "load_policy (1.6 kb)"
30         default BUSYBOX_DEFAULT_LOAD_POLICY
31         depends on BUSYBOX_CONFIG_SELINUX
32         help
33         Enable support to load SELinux policy.
34 config BUSYBOX_CONFIG_MATCHPATHCON
35         bool "matchpathcon (6.1 kb)"
36         default BUSYBOX_DEFAULT_MATCHPATHCON
37         depends on BUSYBOX_CONFIG_SELINUX
38         help
39         Enable support to get default security context of the
40         specified path from the file contexts configuration.
41 config BUSYBOX_CONFIG_RUNCON
42         bool "runcon (6.6 kb)"
43         default BUSYBOX_DEFAULT_RUNCON
44         depends on BUSYBOX_CONFIG_SELINUX
45         help
46         Enable support to run command in specified security context.
47 config BUSYBOX_CONFIG_SELINUXENABLED
48         bool "selinuxenabled (321 bytes)"
49         default BUSYBOX_DEFAULT_SELINUXENABLED
50         depends on BUSYBOX_CONFIG_SELINUX
51         help
52         Enable support for this command to be used within shell scripts
53         to determine if selinux is enabled.
54 config BUSYBOX_CONFIG_SESTATUS
55         bool "sestatus (12 kb)"
56         default BUSYBOX_DEFAULT_SESTATUS
57         depends on BUSYBOX_CONFIG_SELINUX
58         help
59         Displays the status of SELinux.
60 config BUSYBOX_CONFIG_SETENFORCE
61         bool "setenforce (2.1 kb)"
62         default BUSYBOX_DEFAULT_SETENFORCE
63         depends on BUSYBOX_CONFIG_SELINUX
64         help
65         Enable support to modify the mode SELinux is running in.
66 config BUSYBOX_CONFIG_SETFILES
67         bool "setfiles (13 kb)"
68         default BUSYBOX_DEFAULT_SETFILES
69         depends on BUSYBOX_CONFIG_SELINUX
70         help
71         Enable support to modify to relabel files.
72         Notice: If you built libselinux with -D_FILE_OFFSET_BITS=64,
73         (It is default in libselinux's Makefile), you _must_ enable
74         CONFIG_LFS.
75
76 config BUSYBOX_CONFIG_FEATURE_SETFILES_CHECK_OPTION
77         bool "Enable check option"
78         default BUSYBOX_DEFAULT_FEATURE_SETFILES_CHECK_OPTION
79         depends on BUSYBOX_CONFIG_SETFILES
80         help
81         Support "-c" option (check the validity of the contexts against
82         the specified binary policy) for setfiles. Requires libsepol.
83
84 config BUSYBOX_CONFIG_RESTORECON
85         bool "restorecon (12 kb)"
86         default BUSYBOX_DEFAULT_RESTORECON
87         depends on BUSYBOX_CONFIG_SELINUX
88         help
89         Enable support to relabel files. The feature is almost
90         the same as setfiles, but usage is a little different.
91 config BUSYBOX_CONFIG_SETSEBOOL
92         bool "setsebool (1.7 kb)"
93         default BUSYBOX_DEFAULT_SETSEBOOL
94         depends on BUSYBOX_CONFIG_SELINUX
95         help
96         Enable support for change boolean.
97         semanage and -P option is not supported yet.
98
99 endmenu