diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-23 14:03:30 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-23 14:03:30 +0000 |
commit | 397137b8158298cae14efae330abc57ba11630a5 (patch) | |
tree | 66a755944637f3229f3f801c999132e8d9386856 /selinux/Config.in | |
parent | 845db2acf3cf7e87c20cee01dc228de6fad593ed (diff) | |
download | busybox-w32-397137b8158298cae14efae330abc57ba11630a5.tar.gz busybox-w32-397137b8158298cae14efae330abc57ba11630a5.tar.bz2 busybox-w32-397137b8158298cae14efae330abc57ba11630a5.zip |
setfiles,restorecon: new SELinux applets by Yuichi Nakamura <ynakam@hitachisoft.jp>
Diffstat (limited to 'selinux/Config.in')
-rw-r--r-- | selinux/Config.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/selinux/Config.in b/selinux/Config.in index 42bca66d6..77f89c798 100644 --- a/selinux/Config.in +++ b/selinux/Config.in | |||
@@ -49,6 +49,14 @@ config MATCHPATHCON | |||
49 | Enable support to get default security context of the | 49 | Enable support to get default security context of the |
50 | specified path from the file contexts configuration. | 50 | specified path from the file contexts configuration. |
51 | 51 | ||
52 | config RESTORECON | ||
53 | bool "restorecon" | ||
54 | default n | ||
55 | depends on SELINUX | ||
56 | help | ||
57 | Enable support to relabel files. The feature is almost | ||
58 | the same as setfiles, but usage is a little different. | ||
59 | |||
52 | config RUNCON | 60 | config RUNCON |
53 | bool "runcon" | 61 | bool "runcon" |
54 | default n | 62 | default n |
@@ -78,5 +86,23 @@ config SETENFORCE | |||
78 | help | 86 | help |
79 | Enable support to modify the mode SELinux is running in. | 87 | Enable support to modify the mode SELinux is running in. |
80 | 88 | ||
89 | config SETFILES | ||
90 | bool "setfiles" | ||
91 | default n | ||
92 | depends on SELINUX | ||
93 | help | ||
94 | Enable support to modify to relabel files. | ||
95 | Notice: If you built libselinux with -D_FILE_OFFSET_BITS=64, | ||
96 | (It is default in libselinux's Makefile), you _must_ enable | ||
97 | CONFIG_LFS. | ||
98 | |||
99 | config FEATURE_SETFILES_CHECK_OPTION | ||
100 | bool "Enable check option" | ||
101 | default n | ||
102 | depends on SETFILES | ||
103 | help | ||
104 | Support "-c" option (check the validity of the contexts against | ||
105 | the specified binary policy) for setfiles. Requires libsepol. | ||
106 | |||
81 | endmenu | 107 | endmenu |
82 | 108 | ||