On Fri, Dec 28, 2001 at 01:31:04AM -0800, Justin Erenkrantz wrote:
> Regarding the setpgid manpages on various platforms, it seems that
> the second 0 indicates that the pid==pgid and that pid becomes the
> session leader.  I'm not sure how that is incorrect here.  This
> call should be occurring before the fork, so that sounds correct
> to me.  What exactly is suspicious here?  -- justin

As I stated in my previous mail, I misunderstood this, my bad, sorry for the
false alert.

Interestingly in the Samba code the setsid() call comes _after_ the fork()
(see my previous e-mail) and that seems to work just fine. So it looks like
the order suggested is not an absolute requirement; any thoughts on this?

-- 
Jos Backus                 _/  _/_/_/        Santa Clara, CA
                          _/  _/   _/
                         _/  _/_/_/             
                    _/  _/  _/    _/
[EMAIL PROTECTED]     _/_/   _/_/_/            use Std::Disclaimer;

Reply via email to