aboutsummaryrefslogtreecommitdiff
path: root/procps/pstree.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-08-05 22:25:00 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-08-05 22:25:00 +0200
commit00c1811d87ea9019c2beda0d182150792c6bb053 (patch)
tree43f1af035419b1d197e24fa25486ccbfad3eb26a /procps/pstree.c
parent99125c04950a7ba2ac90dc21c3d924fe9dd95651 (diff)
downloadbusybox-w32-00c1811d87ea9019c2beda0d182150792c6bb053.tar.gz
busybox-w32-00c1811d87ea9019c2beda0d182150792c6bb053.tar.bz2
busybox-w32-00c1811d87ea9019c2beda0d182150792c6bb053.zip
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/procps/pstree.c b/procps/pstree.c
index 212cda23c..824907997 100644
--- a/procps/pstree.c
+++ b/procps/pstree.c
@@ -9,14 +9,13 @@
9 * 9 *
10 * Licensed under GPLv2, see file LICENSE in this source tree. 10 * Licensed under GPLv2, see file LICENSE in this source tree.
11 */ 11 */
12
13//config:config PSTREE 12//config:config PSTREE
14//config: bool "pstree (9.4 kb)" 13//config: bool "pstree (9.4 kb)"
15//config: default y 14//config: default y
16//config: help 15//config: help
17//config: Display a tree of processes. 16//config: Display a tree of processes.
18 17
19//applet:IF_PSTREE(APPLET(pstree, BB_DIR_USR_BIN, BB_SUID_DROP)) 18//applet:IF_PSTREE(APPLET_NOEXEC(pstree, pstree, BB_DIR_USR_BIN, BB_SUID_DROP, pstree))
20 19
21//kbuild:lib-$(CONFIG_PSTREE) += pstree.o 20//kbuild:lib-$(CONFIG_PSTREE) += pstree.o
22 21