Date: Mon, 17 Aug 2009 15:50:49 -0700 From: Alan Coopersmith <Alan.Coopersmith at sun.com> Subject: Re: daemon() in libc [PSARC/2009/444 FastTrack timeout 08/24/2009]
Darren Reed wrote: > One could argue that the original daemon() does not offer much > flexibility and that this approach to daemonization is actually > not sufficient in SMF world. While this is true, it is out of > scope of this case to provide modern alternative. While providing an alternative interface is both out-of-scope, and missing the point of providing a BSD/Linux compatible interface, have you discussed with the SMF team whether daemon() should be putting the process into a new process contract? And while we're at it, please modify the man page to include mention of (at least a SEE ALSO reference) the preferred way to accomplish daemonization in Solaris. Assuming you agree to do that, +1 from me. -- Glenn