summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko2017-08-04 17:59:46 +0200
committerDenys Vlasenko2017-08-04 17:59:46 +0200
commit83d7785e413bbfc4c639c855a6e47f64bdc5da9a (patch)
treebe2cb6035dbf4f1c316893d41560587cd2a8d85e /miscutils
parent6bec24c4f5a2c853c10fd59a56d0d197b5e5fd64 (diff)
downloadbusybox-83d7785e413bbfc4c639c855a6e47f64bdc5da9a.zip
busybox-83d7785e413bbfc4c639c855a6e47f64bdc5da9a.tar.gz
runlevel: make it NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/runlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/runlevel.c b/miscutils/runlevel.c
index 6b47422..0b20985 100644
--- a/miscutils/runlevel.c
+++ b/miscutils/runlevel.c
@@ -21,7 +21,7 @@
//config: This applet uses utmp but does not rely on busybox supporing
//config: utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
-//applet:IF_RUNLEVEL(APPLET(runlevel, BB_DIR_SBIN, BB_SUID_DROP))
+//applet:IF_RUNLEVEL(APPLET_NOEXEC(runlevel, runlevel, BB_DIR_SBIN, BB_SUID_DROP, runlevel))
//kbuild:lib-$(CONFIG_RUNLEVEL) += runlevel.o