summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2007-11-22 01:10:41 +0000
committerDenis Vlasenko2007-11-22 01:10:41 +0000
commit705eaf8b403555741cf6313a76da8597ae54d324 (patch)
treed3b8d2f5a5bad99368e3dc50a4e55d2fca22cebf /include
parent9cdfd14223e58a73b2005ca8b432af439c8fe197 (diff)
downloadbusybox-705eaf8b403555741cf6313a76da8597ae54d324.zip
busybox-705eaf8b403555741cf6313a76da8597ae54d324.tar.gz
sestatus: new SELinux applet (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h6
2 files changed, 7 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index f188232..757fa4a 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -300,6 +300,7 @@ USE_RX(APPLET(rx, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_SED(APPLET(sed, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_SELINUXENABLED(APPLET(selinuxenabled, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_SEQ(APPLET_NOFORK(seq, seq, _BB_DIR_USR_BIN, _BB_SUID_NEVER, seq))
+USE_SESTATUS(APPLET(sestatus, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_SETARCH(APPLET(setarch, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_SETCONSOLE(APPLET(setconsole, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_SETENFORCE(APPLET(setenforce, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
diff --git a/include/usage.h b/include/usage.h
index 3c8762e..5c03719 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3121,6 +3121,12 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
" FIRST LAST\n" \
" FIRST INCREMENT LAST"
+#define sestatus_trivial_usage \
+ "[-vb]"
+#define sestatus_full_usage \
+ "-v Verbose\n" \
+ "-b Display current state of booleans"
+
#define setconsole_trivial_usage \
"[-r" USE_FEATURE_SETCONSOLE_LONG_OPTIONS("|--reset") "] [DEVICE]"
#define setconsole_full_usage \