Tests that start daemons have to "wait" for them to start.
This commit makes Heimdal daemons prep to detach (when requested) by
forking early, then having the child signal readiness to the parent when
the child really is ready. The parent exits only which the child is
ready. This means that tests will no longer need to wait for daemons.
However, tests will still need a pidfile or such so they can stop the
daemons.
Note that the --detach options should not be used on OS X from launchd,
only from tests.
retroactively relicensing all code held under their copyright from a
4-clause 'traditional' BSD license to a new 3-clause 'revised' BSD
license, which removed the advertising clause.
From NetBSD, via Joel Baker, and Alistair G. Crooks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14612 ec53bebd-3082-4978-b11e-865c3cabbd6b