Rework set_default_signals into afterfork, which does the sigprocmask
too. This is necessary for processes we fork after
setup_signal_handling(), which otherwise inherit our blocking mask and
non-default handlers.
Call it after each fork() (except the ones we use for daemonising).
As a consequence:
- hackypar children will die if they get a terminating signal
- our subprocesses such as `route' and `ifconfig' will inherit
reasonable signal setups
- it will be correct to call udp_make_socket during phase RUN
(previously any authbind would get a strange signal setup)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>