[PATCH] kill: optimizations for single-applet build

Denys Vlasenko vda.linux at googlemail.com
Mon Jan 9 17:47:52 UTC 2017


Applied with some changes. Thanks.

On Mon, Jan 9, 2017 at 5:57 PM, Kang-Che Sung <explorer09 at gmail.com> wrote:
> * 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.
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list