aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-02-14 01:36:11 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-02-14 01:36:11 +0000
commit9f00e0578167e63e161c38d1fa41b93071616b6c (patch)
treec18b05323e939d6e8736297b33dbb4b2ce5e495f /include
parentd63cd1bf1cec62dcdfaf89e821b55c4d80421ba6 (diff)
downloadbusybox-9f00e0578167e63e161c38d1fa41b93071616b6c.tar.gz
killall and sestatus also need ARGVN scanning
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 0403281c6..eefc13261 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1281,7 +1281,13 @@ enum {
PSSCAN_UTIME = 1 << 13,
PSSCAN_TTY = 1 << 14,
PSSCAN_SMAPS = (1 << 15) * ENABLE_FEATURE_TOPMEM,
- PSSCAN_ARGVN = (1 << 16) * (ENABLE_PGREP || ENABLE_PKILL || ENABLE_PIDOF),
+ /* NB: used by find_pid_by_name(). Any applet using it
+ * needs to be mentioned here. */
+ PSSCAN_ARGVN = (1 << 16) * (ENABLE_KILLALL
+ || ENABLE_PGREP || ENABLE_PKILL
+ || ENABLE_PIDOF
+ || ENABLE_SESTATUS
+ ),
USE_SELINUX(PSSCAN_CONTEXT = 1 << 17,)
PSSCAN_START_TIME = 1 << 18,
PSSCAN_CPU = 1 << 19,