[distcc] [PATCH] setsid() in the right place
Benjamin Reed
ranger at befunk.com
Wed Dec 31 15:28:53 GMT 2003
Daniel Ritz wrote:
> hi
>
> the call to setsid() must be after setgid()/setgroups() because if
> it's before, those calls return with -1, errno gets EPERM (=the user is
> not the super-user)
> this way distccd can actually start for me..
>
> against distcc-2.12
Just an FYI, not sure what platform you're on but this patch fixes
building on OSX too.
--
Benjamin Reed a.k.a. Ranger Rick -- http://ranger.befunk.com/
gpg: 6401 D02A A35F 55E9 D7DD 71C5 52EF A366 D3F6 65FE
Odelay IS a word, just look it up in the Becktionary!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 253 bytes
Desc: not available
Url : http://lists.samba.org/archive/distcc/attachments/20031231/181581b8/attachment.bin
More information about the distcc
mailing list