packages/net/squid/patches/002-glibc-compile.patch
Eneas U de Queiroz 90f4b935bd squid: incorporated ideas from PR#5196
Incorporated @ratkaj configuration options and patches.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-08 10:03:24 -03:00

12 lines
268 B
Diff

--- squid-4.0.21.orig/src/tools.cc
+++ squid-4.0.21/src/tools.cc
@@ -581,7 +581,8 @@
}
#else
- setuid(0);
+ if (setuid(0) < 0)
+ debugs(50, 1, "no_suid: setuid (0)");
#endif
#if HAVE_PRCTL && defined(PR_SET_DUMPABLE)
/* Set Linux DUMPABLE flag */