Comment 1 for bug 1117517

Jamie Strandboge (jdstrand) wrote :

r12473 addressed most of this, but configure tells me this:
...
checking if setresuid is implemented... no
...

So I also needed in src/tools.cc:
...
void
enter_suid(void)
{
...
#if HAVE_SETRESUID
...
#else
    if (setuid(0) < 0)
        debugs(21, 3, "enter_suid: setuid(0) failed: " << xstrerror());
#endif
...