summaryrefslogtreecommitdiff
path: root/procps/uptime.c
diff options
context:
space:
mode:
authorDenys Vlasenko2017-08-07 16:47:34 +0200
committerDenys Vlasenko2017-08-07 16:47:34 +0200
commit1a1203ff8909efc003bb6bf679a6afd6628dc179 (patch)
tree543504b74dd44b83536ff3b2da079586c6401a2e /procps/uptime.c
parent798b94518e61ced3f7be7766727705df4859878c (diff)
downloadbusybox-1a1203ff8909efc003bb6bf679a6afd6628dc179.zip
busybox-1a1203ff8909efc003bb6bf679a6afd6628dc179.tar.gz
users,w,who,uptime,renice: make NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/uptime.c')
-rw-r--r--procps/uptime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/uptime.c b/procps/uptime.c
index 24b2b39..b0ee839 100644
--- a/procps/uptime.c
+++ b/procps/uptime.c
@@ -27,7 +27,7 @@
//config: help
//config: Display the number of users currently logged on.
-//applet:IF_UPTIME(APPLET(uptime, BB_DIR_USR_BIN, BB_SUID_DROP))
+//applet:IF_UPTIME(APPLET_NOEXEC(uptime, uptime, BB_DIR_USR_BIN, BB_SUID_DROP, uptime))
//kbuild:lib-$(CONFIG_UPTIME) += uptime.o