summaryrefslogtreecommitdiff
path: root/package/busybox
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-02-18 14:16:30 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-02-18 14:16:30 +0000
commitbb765647380e400fe8119dc5bb810bebd8fc6887 (patch)
tree7252930d4d196151ffa031c271a77a60237a2d17 /package/busybox
parent7508d2de9d765cf2617a0646d5a1366f63b0c79b (diff)
busybox: 1.13.2 killall fix
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/busybox-1.13.2-killall.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.13.2-killall.patch b/package/busybox/busybox-1.13.2-killall.patch
new file mode 100644
index 000000000..9524f5281
--- /dev/null
+++ b/package/busybox/busybox-1.13.2-killall.patch
@@ -0,0 +1,17 @@
+--- busybox-1.13.2/include/libbb.h Wed Dec 31 04:06:45 2008
++++ busybox-1.13.2-killall/include/libbb.h Sat Feb 14 02:41:18 2009
+@@ -1275,7 +1275,13 @@
+ 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,