Laurence Withers
639944b905
Use daemon(3) to daemonise rather than writing our own code. Since we use the mode of daemon(3) which closes the standard 3 file descriptors, if the user requests logging to one of those we dup(2) the original first. We must also take care to always close any newly-opened file descriptors before execve(2) of the child. |
||
---|---|---|
.. | ||
.params | ||
000_TopSource.c | ||
100_io.c | ||
200_log.c | ||
300_pid.c | ||
500_env.c | ||
600_run_program.c | ||
700_signal.c | ||
800_checks.c | ||
999_main.c | ||
build.app | ||
build.default | ||
build.install | ||
build.install-app | ||
build.monolithic |