summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2007-03-24 15:37:57 +0000
committerDenis Vlasenko2007-03-24 15:37:57 +0000
commit1fc6e56684dafddf00c3e9689a77e273f0126ea4 (patch)
tree2b084610db32345552dc1dac520bdb32db6d316a /include
parent5b27fbe990d868441452c474e5b14e94f8bc8335 (diff)
downloadbusybox-1fc6e56684dafddf00c3e9689a77e273f0126ea4.zip
busybox-1fc6e56684dafddf00c3e9689a77e273f0126ea4.tar.gz
SELinux: load_policy applet
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 3aaf011..3f5bf9b 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -180,6 +180,7 @@ USE_SETARCH(APPLET_NOUSAGE(linux32, setarch, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_SETARCH(APPLET_NOUSAGE(linux64, setarch, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_FEATURE_INITRD(APPLET_NOUSAGE(linuxrc, init, _BB_DIR_ROOT, _BB_SUID_NEVER))
USE_LN(APPLET(ln, _BB_DIR_BIN, _BB_SUID_NEVER))
+USE_LOAD_POLICY(APPLET(load_policy, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_LOADFONT(APPLET(loadfont, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_LOADKMAP(APPLET(loadkmap, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_LOGGER(APPLET(logger, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
diff --git a/include/usage.h b/include/usage.h
index 615ee4e..7adc1fc 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1758,6 +1758,10 @@
"$ ls -l /tmp/ls\n" \
"lrwxrwxrwx 1 root root 7 Apr 12 18:39 ls -> BusyBox*\n"
+#define load_policy_trivial_usage \
+ "[FILE]"
+#define load_policy_full_usage
+
#define loadfont_trivial_usage \
"< font"
#define loadfont_full_usage \