aboutsummaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
Diffstat (limited to 'selinux')
-rw-r--r--selinux/chcon.c2
-rw-r--r--selinux/getenforce.c2
-rw-r--r--selinux/getsebool.c2
-rw-r--r--selinux/load_policy.c2
-rw-r--r--selinux/matchpathcon.c4
-rw-r--r--selinux/runcon.c2
-rw-r--r--selinux/selinuxenabled.c4
-rw-r--r--selinux/sestatus.c2
-rw-r--r--selinux/setenforce.c2
-rw-r--r--selinux/setfiles.c16
-rw-r--r--selinux/setsebool.c4
11 files changed, 21 insertions, 21 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c
index 6caf14750..ae87fb554 100644
--- a/selinux/chcon.c
+++ b/selinux/chcon.c
@@ -12,7 +12,7 @@
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 44bcdfd24..0286dd0be 100644
--- a/selinux/getenforce.c
+++ b/selinux/getenforce.c
@@ -11,7 +11,7 @@
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 2c56a05fc..6d7805c8d 100644
--- a/selinux/getsebool.c
+++ b/selinux/getsebool.c
@@ -11,7 +11,7 @@
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 22ee0527d..b7930839c 100644
--- a/selinux/load_policy.c
+++ b/selinux/load_policy.c
@@ -9,7 +9,7 @@
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 7814f62ed..3388d0857 100644
--- a/selinux/matchpathcon.c
+++ b/selinux/matchpathcon.c
@@ -10,8 +10,8 @@
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 f7d6fcd29..09082d6c2 100644
--- a/selinux/runcon.c
+++ b/selinux/runcon.c
@@ -33,7 +33,7 @@
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 e2c44b3b8..e70a452cf 100644
--- a/selinux/selinuxenabled.c
+++ b/selinux/selinuxenabled.c
@@ -11,8 +11,8 @@
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 719832e8f..daf4b223b 100644
--- a/selinux/sestatus.c
+++ b/selinux/sestatus.c
@@ -12,7 +12,7 @@
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 2e4ab77b1..c28de6ec5 100644
--- a/selinux/setenforce.c
+++ b/selinux/setenforce.c
@@ -11,7 +11,7 @@
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 ceba36326..01106bd67 100644
--- a/selinux/setfiles.c
+++ b/selinux/setfiles.c
@@ -8,26 +8,26 @@
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 (12 kb)" 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 9005a384d..579118172 100644
--- a/selinux/setsebool.c
+++ b/selinux/setsebool.c
@@ -12,8 +12,8 @@
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