diff options
author | Denys Vlasenko | 2017-08-05 22:25:00 +0200 |
---|---|---|
committer | Denys Vlasenko | 2017-08-05 22:25:00 +0200 |
commit | 00c1811d87ea9019c2beda0d182150792c6bb053 (patch) | |
tree | 43f1af035419b1d197e24fa25486ccbfad3eb26a /procps/pstree.c | |
parent | 99125c04950a7ba2ac90dc21c3d924fe9dd95651 (diff) | |
download | busybox-00c1811d87ea9019c2beda0d182150792c6bb053.zip busybox-00c1811d87ea9019c2beda0d182150792c6bb053.tar.gz |
pstree: make it NOEXEC
While at it, documet why ps can't be NOEXEC.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/pstree.c')
-rw-r--r-- | procps/pstree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/procps/pstree.c b/procps/pstree.c index 212cda2..8249079 100644 --- a/procps/pstree.c +++ b/procps/pstree.c @@ -9,14 +9,13 @@ * * Licensed under GPLv2, see file LICENSE in this source tree. */ - //config:config PSTREE //config: bool "pstree (9.4 kb)" //config: default y //config: help //config: Display a tree of processes. -//applet:IF_PSTREE(APPLET(pstree, BB_DIR_USR_BIN, BB_SUID_DROP)) +//applet:IF_PSTREE(APPLET_NOEXEC(pstree, pstree, BB_DIR_USR_BIN, BB_SUID_DROP, pstree)) //kbuild:lib-$(CONFIG_PSTREE) += pstree.o |