busybox/debianutils
Denys Vlasenko 088fec36fe start-stop-daemon: create pidfile before parent exits, closes 8596
This removes DAEMON_DOUBLE_FORK flag from bb_daemonize_or_rexec(),
as SSD was the only user.

Also includes fix for -S: now works without -a and -x,
does not print pids
(compat with "start-stop-daemon (OpenRC) 0.34.11 (Gentoo Linux)").

function                                             old     new   delta
start_stop_daemon_main                              1018    1084     +66
add_interface                                         99     103      +4
fail_hunk                                            139     136      -3
bb_daemonize_or_rexec                                205     183     -22
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 70/-25)             Total: 45 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2019-01-14 14:47:21 +01:00
..
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
Kbuild.src debianutils/*: convert to new-style "one file" applets 2015-10-19 00:52:26 +02:00
pipe_progress.c config: update size information 2018-12-28 03:20:17 +01:00
run_parts.c config: update size information 2018-12-28 03:20:17 +01:00
start_stop_daemon.c start-stop-daemon: create pidfile before parent exits, closes 8596 2019-01-14 14:47:21 +01:00
which.c config: update size information 2018-12-28 03:20:17 +01:00