From 705eaf8b403555741cf6313a76da8597ae54d324 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 22 Nov 2007 01:10:41 +0000 Subject: sestatus: new SELinux applet (KaiGai Kohei ) --- include/applets.h | 1 + include/usage.h | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'include') 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 \ -- cgit v1.1