d930bdf3486f404e694e5c66fd736247cbdc2446
[feed/packages.git] / net / squid / patches / 002-glibc-compile.patch
1 --- squid-4.0.21.orig/src/tools.cc
2 +++ squid-4.0.21/src/tools.cc
3 @@ -581,7 +581,8 @@
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 */