aboutsummaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
Diffstat (limited to 'selinux')
-rw-r--r--selinux/chcon.c4
-rw-r--r--selinux/getenforce.c4
-rw-r--r--selinux/getsebool.c4
-rw-r--r--selinux/load_policy.c4
-rw-r--r--selinux/matchpathcon.c6
-rw-r--r--selinux/runcon.c4
-rw-r--r--selinux/selinuxenabled.c6
-rw-r--r--selinux/sestatus.c4
-rw-r--r--selinux/setenforce.c4
-rw-r--r--selinux/setfiles.c20
-rw-r--r--selinux/setsebool.c6
11 files changed, 33 insertions, 33 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c
index ba9b08638..ae87fb554 100644
--- a/selinux/chcon.c
+++ b/selinux/chcon.c
@@ -8,11 +8,11 @@
8 * Licensed under GPLv2, see file LICENSE in this source tree. 8 * Licensed under GPLv2, see file LICENSE in this source tree.
9 */ 9 */
10//config:config CHCON 10//config:config CHCON
11//config: bool "chcon" 11//config: bool "chcon (8.9 kb)"
12//config: default n 12//config: default n
13//config: depends on SELINUX 13//config: depends on SELINUX
14//config: help 14//config: help
15//config: Enable support to change the security context of file. 15//config: Enable support to change the security context of file.
16//config: 16//config:
17//config:config FEATURE_CHCON_LONG_OPTIONS 17//config:config FEATURE_CHCON_LONG_OPTIONS
18//config: bool "Enable long options" 18//config: bool "Enable long options"
diff --git a/selinux/getenforce.c b/selinux/getenforce.c
index 37477652b..0286dd0be 100644
--- a/selinux/getenforce.c
+++ b/selinux/getenforce.c
@@ -7,11 +7,11 @@
7 * Licensed under GPLv2, see file LICENSE in this source tree. 7 * Licensed under GPLv2, see file LICENSE in this source tree.
8 */ 8 */
9//config:config GETENFORCE 9//config:config GETENFORCE
10//config: bool "getenforce" 10//config: bool "getenforce (1.7 kb)"
11//config: default n 11//config: default n
12//config: depends on SELINUX 12//config: depends on SELINUX
13//config: help 13//config: help
14//config: Enable support to get the current mode of SELinux. 14//config: Enable support to get the current mode of SELinux.
15 15
16//applet:IF_GETENFORCE(APPLET(getenforce, BB_DIR_USR_SBIN, BB_SUID_DROP)) 16//applet:IF_GETENFORCE(APPLET(getenforce, BB_DIR_USR_SBIN, BB_SUID_DROP))
17 17
diff --git a/selinux/getsebool.c b/selinux/getsebool.c
index fce478f5b..6d7805c8d 100644
--- a/selinux/getsebool.c
+++ b/selinux/getsebool.c
@@ -7,11 +7,11 @@
7 * Licensed under GPLv2, see file LICENSE in this source tree. 7 * Licensed under GPLv2, see file LICENSE in this source tree.
8 */ 8 */
9//config:config GETSEBOOL 9//config:config GETSEBOOL
10//config: bool "getsebool" 10//config: bool "getsebool (5.5 kb)"
11//config: default n 11//config: default n
12//config: depends on SELINUX 12//config: depends on SELINUX
13//config: help 13//config: help
14//config: Enable support to get SELinux boolean values. 14//config: Enable support to get SELinux boolean values.
15 15
16//applet:IF_GETSEBOOL(APPLET(getsebool, BB_DIR_USR_SBIN, BB_SUID_DROP)) 16//applet:IF_GETSEBOOL(APPLET(getsebool, BB_DIR_USR_SBIN, BB_SUID_DROP))
17 17
diff --git a/selinux/load_policy.c b/selinux/load_policy.c
index f969453e3..b7930839c 100644
--- a/selinux/load_policy.c
+++ b/selinux/load_policy.c
@@ -5,11 +5,11 @@
5 * Licensed under GPLv2, see file LICENSE in this source tree. 5 * Licensed under GPLv2, see file LICENSE in this source tree.
6 */ 6 */
7//config:config LOAD_POLICY 7//config:config LOAD_POLICY
8//config: bool "load_policy" 8//config: bool "load_policy (1.6 kb)"
9//config: default n 9//config: default n
10//config: depends on SELINUX 10//config: depends on SELINUX
11//config: help 11//config: help
12//config: Enable support to load SELinux policy. 12//config: Enable support to load SELinux policy.
13 13
14//applet:IF_LOAD_POLICY(APPLET(load_policy, BB_DIR_USR_SBIN, BB_SUID_DROP)) 14//applet:IF_LOAD_POLICY(APPLET(load_policy, BB_DIR_USR_SBIN, BB_SUID_DROP))
15 15
diff --git a/selinux/matchpathcon.c b/selinux/matchpathcon.c
index a3b2fcb74..3388d0857 100644
--- a/selinux/matchpathcon.c
+++ b/selinux/matchpathcon.c
@@ -6,12 +6,12 @@
6 * Licensed under GPLv2, see file LICENSE in this source tree. 6 * Licensed under GPLv2, see file LICENSE in this source tree.
7 */ 7 */
8//config:config MATCHPATHCON 8//config:config MATCHPATHCON
9//config: bool "matchpathcon" 9//config: bool "matchpathcon (6.1 kb)"
10//config: default n 10//config: default n
11//config: depends on SELINUX 11//config: depends on SELINUX
12//config: help 12//config: help
13//config: Enable support to get default security context of the 13//config: Enable support to get default security context of the
14//config: specified path from the file contexts configuration. 14//config: specified path from the file contexts configuration.
15 15
16//applet:IF_MATCHPATHCON(APPLET(matchpathcon, BB_DIR_USR_SBIN, BB_SUID_DROP)) 16//applet:IF_MATCHPATHCON(APPLET(matchpathcon, BB_DIR_USR_SBIN, BB_SUID_DROP))
17 17
diff --git a/selinux/runcon.c b/selinux/runcon.c
index 82f4d50d3..09082d6c2 100644
--- a/selinux/runcon.c
+++ b/selinux/runcon.c
@@ -29,11 +29,11 @@
29 * Licensed under GPLv2, see file LICENSE in this source tree. 29 * Licensed under GPLv2, see file LICENSE in this source tree.
30 */ 30 */
31//config:config RUNCON 31//config:config RUNCON
32//config: bool "runcon" 32//config: bool "runcon (6.6 kb)"
33//config: default n 33//config: default n
34//config: depends on SELINUX 34//config: depends on SELINUX
35//config: help 35//config: help
36//config: Enable support to run command in specified security context. 36//config: Enable support to run command in specified security context.
37//config: 37//config:
38//config:config FEATURE_RUNCON_LONG_OPTIONS 38//config:config FEATURE_RUNCON_LONG_OPTIONS
39//config: bool "Enable long options" 39//config: bool "Enable long options"
diff --git a/selinux/selinuxenabled.c b/selinux/selinuxenabled.c
index b80c4e71b..e70a452cf 100644
--- a/selinux/selinuxenabled.c
+++ b/selinux/selinuxenabled.c
@@ -7,12 +7,12 @@
7 * Licensed under GPLv2, see file LICENSE in this source tree. 7 * Licensed under GPLv2, see file LICENSE in this source tree.
8 */ 8 */
9//config:config SELINUXENABLED 9//config:config SELINUXENABLED
10//config: bool "selinuxenabled" 10//config: bool "selinuxenabled (321 bytes)"
11//config: default n 11//config: default n
12//config: depends on SELINUX 12//config: depends on SELINUX
13//config: help 13//config: help
14//config: Enable support for this command to be used within shell scripts 14//config: Enable support for this command to be used within shell scripts
15//config: to determine if selinux is enabled. 15//config: to determine if selinux is enabled.
16 16
17//applet:IF_SELINUXENABLED(APPLET(selinuxenabled, BB_DIR_USR_SBIN, BB_SUID_DROP)) 17//applet:IF_SELINUXENABLED(APPLET(selinuxenabled, BB_DIR_USR_SBIN, BB_SUID_DROP))
18 18
diff --git a/selinux/sestatus.c b/selinux/sestatus.c
index ad49c9d25..daf4b223b 100644
--- a/selinux/sestatus.c
+++ b/selinux/sestatus.c
@@ -8,11 +8,11 @@
8 * Licensed under GPLv2, see file LICENSE in this source tree. 8 * Licensed under GPLv2, see file LICENSE in this source tree.
9 */ 9 */
10//config:config SESTATUS 10//config:config SESTATUS
11//config: bool "sestatus" 11//config: bool "sestatus (12 kb)"
12//config: default n 12//config: default n
13//config: depends on SELINUX 13//config: depends on SELINUX
14//config: help 14//config: help
15//config: Displays the status of SELinux. 15//config: Displays the status of SELinux.
16 16
17//applet:IF_SESTATUS(APPLET(sestatus, BB_DIR_USR_SBIN, BB_SUID_DROP)) 17//applet:IF_SESTATUS(APPLET(sestatus, BB_DIR_USR_SBIN, BB_SUID_DROP))
18 18
diff --git a/selinux/setenforce.c b/selinux/setenforce.c
index 8d18abd29..c28de6ec5 100644
--- a/selinux/setenforce.c
+++ b/selinux/setenforce.c
@@ -7,11 +7,11 @@
7 * Licensed under GPLv2, see file LICENSE in this source tree. 7 * Licensed under GPLv2, see file LICENSE in this source tree.
8 */ 8 */
9//config:config SETENFORCE 9//config:config SETENFORCE
10//config: bool "setenforce" 10//config: bool "setenforce (2.1 kb)"
11//config: default n 11//config: default n
12//config: depends on SELINUX 12//config: depends on SELINUX
13//config: help 13//config: help
14//config: Enable support to modify the mode SELinux is running in. 14//config: Enable support to modify the mode SELinux is running in.
15 15
16//applet:IF_SETENFORCE(APPLET(setenforce, BB_DIR_USR_SBIN, BB_SUID_DROP)) 16//applet:IF_SETENFORCE(APPLET(setenforce, BB_DIR_USR_SBIN, BB_SUID_DROP))
17 17
diff --git a/selinux/setfiles.c b/selinux/setfiles.c
index c14a67be5..01106bd67 100644
--- a/selinux/setfiles.c
+++ b/selinux/setfiles.c
@@ -4,30 +4,30 @@
4 Port to BusyBox (c) 2007 by Yuichi Nakamura <ynakam@hitachisoft.jp> 4 Port to BusyBox (c) 2007 by Yuichi Nakamura <ynakam@hitachisoft.jp>
5*/ 5*/
6//config:config SETFILES 6//config:config SETFILES
7//config: bool "setfiles" 7//config: bool "setfiles (13 kb)"
8//config: default n 8//config: default n
9//config: depends on SELINUX 9//config: depends on SELINUX
10//config: help 10//config: help
11//config: Enable support to modify to relabel files. 11//config: Enable support to modify to relabel files.
12//config: Notice: If you built libselinux with -D_FILE_OFFSET_BITS=64, 12//config: Notice: If you built libselinux with -D_FILE_OFFSET_BITS=64,
13//config: (It is default in libselinux's Makefile), you _must_ enable 13//config: (It is default in libselinux's Makefile), you _must_ enable
14//config: CONFIG_LFS. 14//config: CONFIG_LFS.
15//config: 15//config:
16//config:config FEATURE_SETFILES_CHECK_OPTION 16//config:config FEATURE_SETFILES_CHECK_OPTION
17//config: bool "Enable check option" 17//config: bool "Enable check option"
18//config: default n 18//config: default n
19//config: depends on SETFILES 19//config: depends on SETFILES
20//config: help 20//config: help
21//config: Support "-c" option (check the validity of the contexts against 21//config: Support "-c" option (check the validity of the contexts against
22//config: the specified binary policy) for setfiles. Requires libsepol. 22//config: the specified binary policy) for setfiles. Requires libsepol.
23//config: 23//config:
24//config:config RESTORECON 24//config:config RESTORECON
25//config: bool "restorecon" 25//config: bool "restorecon (12 kb)"
26//config: default n 26//config: default n
27//config: depends on SELINUX 27//config: depends on SELINUX
28//config: help 28//config: help
29//config: Enable support to relabel files. The feature is almost 29//config: Enable support to relabel files. The feature is almost
30//config: the same as setfiles, but usage is a little different. 30//config: the same as setfiles, but usage is a little different.
31 31
32//applet:IF_SETFILES(APPLET(setfiles, BB_DIR_SBIN, BB_SUID_DROP)) 32//applet:IF_SETFILES(APPLET(setfiles, BB_DIR_SBIN, BB_SUID_DROP))
33// APPLET_ODDNAME:name main location suid_type help 33// APPLET_ODDNAME:name main location suid_type help
diff --git a/selinux/setsebool.c b/selinux/setsebool.c
index 6a6bd031c..579118172 100644
--- a/selinux/setsebool.c
+++ b/selinux/setsebool.c
@@ -8,12 +8,12 @@
8 * Licensed under GPLv2, see file LICENSE in this source tree. 8 * Licensed under GPLv2, see file LICENSE in this source tree.
9 */ 9 */
10//config:config SETSEBOOL 10//config:config SETSEBOOL
11//config: bool "setsebool" 11//config: bool "setsebool (1.7 kb)"
12//config: default n 12//config: default n
13//config: depends on SELINUX 13//config: depends on SELINUX
14//config: help 14//config: help
15//config: Enable support for change boolean. 15//config: Enable support for change boolean.
16//config: semanage and -P option is not supported yet. 16//config: semanage and -P option is not supported yet.
17 17
18//applet:IF_SETSEBOOL(APPLET(setsebool, BB_DIR_USR_SBIN, BB_SUID_DROP)) 18//applet:IF_SETSEBOOL(APPLET(setsebool, BB_DIR_USR_SBIN, BB_SUID_DROP))
19 19