Merge pull request #11353 from kvuorine/fwknop-fixes
[feed/packages.git] / net / squid / patches / 001-glibc-compile.patch
1 --- a/src/tools.cc
2 +++ b/src/tools.cc
3 @@ -582,7 +582,8 @@ enter_suid(void)
4 }
5 #else
6
7 - setuid(0);
8 + if (setuid(0) < 0)
9 + debugs(50, 1, "no_suid: setuid (0)");
10 #endif
11 #if HAVE_PRCTL && defined(PR_SET_DUMPABLE)
12 /* Set Linux DUMPABLE flag */