aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-17 18:39:36 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-17 18:39:36 +0000
commit3b3ca113ed00a6781a28172bb3a6860a5f79ea02 (patch)
tree7834909b21af2b0fdbb7c3c52dc3fef12ba0c051 /include
parent18875bf772d72c9c543be8f9ab46dec451f547ea (diff)
downloadbusybox-w32-3b3ca113ed00a6781a28172bb3a6860a5f79ea02.tar.gz
busybox-w32-3b3ca113ed00a6781a28172bb3a6860a5f79ea02.tar.bz2
busybox-w32-3b3ca113ed00a6781a28172bb3a6860a5f79ea02.zip
pidof/killall: allow find_pid_by_name to find running
processes started as scripts_with_name_longer_than_15_bytes.sh closes bug 4054 (and is generally neat)
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index aafdfa32c..14af1368c 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1166,6 +1166,7 @@ typedef struct procps_status_t {
1166 uint8_t shift_pages_to_bytes; 1166 uint8_t shift_pages_to_bytes;
1167 uint8_t shift_pages_to_kb; 1167 uint8_t shift_pages_to_kb;
1168/* Fields are set to 0/NULL if failed to determine (or not requested) */ 1168/* Fields are set to 0/NULL if failed to determine (or not requested) */
1169 uint16_t argv_len;
1169 char *argv0; 1170 char *argv0;
1170 USE_SELINUX(char *context;) 1171 USE_SELINUX(char *context;)
1171 /* Everything below must contain no ptrs to malloc'ed data: 1172 /* Everything below must contain no ptrs to malloc'ed data:
@@ -1213,7 +1214,7 @@ enum {
1213 PSSCAN_UTIME = 1 << 13, 1214 PSSCAN_UTIME = 1 << 13,
1214 PSSCAN_TTY = 1 << 14, 1215 PSSCAN_TTY = 1 << 14,
1215 PSSCAN_SMAPS = (1 << 15) * ENABLE_FEATURE_TOPMEM, 1216 PSSCAN_SMAPS = (1 << 15) * ENABLE_FEATURE_TOPMEM,
1216 PSSCAN_ARGVN = (1 << 16) * (ENABLE_PGREP | ENABLE_PKILL), 1217 PSSCAN_ARGVN = (1 << 16) * (ENABLE_PGREP || ENABLE_PKILL || ENABLE_PIDOF),
1217 USE_SELINUX(PSSCAN_CONTEXT = 1 << 17,) 1218 USE_SELINUX(PSSCAN_CONTEXT = 1 << 17,)
1218 PSSCAN_START_TIME = 1 << 18, 1219 PSSCAN_START_TIME = 1 << 18,
1219 /* These are all retrieved from proc/NN/stat in one go: */ 1220 /* These are all retrieved from proc/NN/stat in one go: */