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!


Attachment: pgp00000.pgp
Description: PGP signature

__ 
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options: 
http://lists.samba.org/mailman/listinfo/distcc

Reply via email to