[distcc] distcc 0.14 patch for setting uid/gid
Dwayne Rightler
drightler at technicalogic.com
Wed Nov 20 18:59:05 GMT 2002
Hmm... From what I gather from the whitepaper they recommend setresuid()
for systems with it (linux) and setreuid() for those without.. I used
seteuid() + setuid() which I _believe_ does the same thing as setreuid()..
Of course I could be totally wrong.... any thoughts?
Martin Pool said:
> Onlooker 20 Nov 2002, Dwayne Rightler <drightler at technicalogic.com>
> wrote:
>> Here is a small patch I wrote so you can start distccd with
>> user/group.
>
> Thankyou for the patch.
>
> I think as written this is not secure, because on some platforms it will
> leave the process with some root privileges. I might be wrong, but it
> needs to be checked again the "Setuid Demystified" whitepaper.
>
> Once somebody (you/me/somebody else) checks that and writes a test case
> I am happy to merge it.
>
> --
> Martin
More information about the distcc
mailing list