summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenys Vlasenko2017-08-10 14:15:52 +0200
committerDenys Vlasenko2017-08-10 14:15:52 +0200
commit9a6f62fd5172c14adf765285d6c000691d89d58d (patch)
treec6e2c64b2eedc21caf076ebc4096cb6025e37c52 /procps
parent1fd8e66203906f6e245959de1bc293556e6ab7fa (diff)
downloadbusybox-9a6f62fd5172c14adf765285d6c000691d89d58d.zip
busybox-9a6f62fd5172c14adf765285d6c000691d89d58d.tar.gz
ps: make it NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r--procps/ps.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/procps/ps.c b/procps/ps.c
index fab8c81..2a53cc9 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -50,8 +50,7 @@
//config: Include support for measuring HZ on old kernels and non-ELF systems
//config: (if you are on Linux 2.4.0+ and use ELF, you don't need this)
-//applet:IF_PS(APPLET(ps, BB_DIR_BIN, BB_SUID_DROP))
-/* can't be NOEXEC: uses ELF aux vector. To have it, we must be a normal, execed process */
+//applet:IF_PS(APPLET_NOEXEC(ps, ps, BB_DIR_BIN, BB_SUID_DROP, ps))
//kbuild:lib-$(CONFIG_PS) += ps.o