aboutsummaryrefslogtreecommitdiff
path: root/libbb/procps.c
diff options
context:
space:
mode:
authorKang-Che Sung <explorer09@gmail.com>2017-01-09 18:46:58 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-09 18:46:58 +0100
commit61a91af63dbc91f85058efda5c542dfc859ab1be (patch)
tree1a6949fa3f5cf55a9ea1989ff3763a326d1821b4 /libbb/procps.c
parent1cc6804f6980d2732df97f15933c93d34041dd83 (diff)
downloadbusybox-61a91af63dbc91f85058efda5c542dfc859ab1be.tar.gz
kill: optimizations for single-applet build
* Fix a bug with a configuration in which the shell's kill builtin would be mistreated as a killall command (i.e. '-q' works, and 'kill process_name' succeeds when it shouldn't): CONFIG_ASH_JOB_CONTROL=y CONFIG_HUSH_KILL=y # CONFIG_KILL is not set CONFIG_KILLALL=y # CONFIG_KILLALL5 is not set * Optimize out unneeded code when the relevant applets are not selected. * Move kbuild lines about shells' kill builtins from Kbuild.src to kill.c, to accompany the new HAVE_SH_KILL macro. I hope this would make maintanence a little bit easier. Signed-off-by: Kang-Che Sung <explorer09@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/procps.c')
0 files changed, 0 insertions, 0 deletions