From 00c1811d87ea9019c2beda0d182150792c6bb053 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 5 Aug 2017 22:25:00 +0200 Subject: pstree: make it NOEXEC While at it, documet why ps can't be NOEXEC. Signed-off-by: Denys Vlasenko --- procps/pstree.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'procps/pstree.c') 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 @@ * * 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 -- cgit v1.2.3