diff options
author | Kang-Che Sung <explorer09@gmail.com> | 2017-01-09 18:46:58 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-09 18:46:58 +0100 |
commit | 61a91af63dbc91f85058efda5c542dfc859ab1be (patch) | |
tree | 1a6949fa3f5cf55a9ea1989ff3763a326d1821b4 /loginutils | |
parent | 1cc6804f6980d2732df97f15933c93d34041dd83 (diff) | |
download | busybox-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 'loginutils')
0 files changed, 0 insertions, 0 deletions