mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 19:54:50 +00:00
squid: incorporated ideas from PR#5196
Incorporated @ratkaj configuration options and patches. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
This commit is contained in:
12
net/squid/patches/002-glibc-compile.patch
Normal file
12
net/squid/patches/002-glibc-compile.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- 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 */
|
||||
Reference in New Issue
Block a user