- Remove upstreamed patch (IPv6 + PF crash) - Add --enable-zph-qos option to default set http://wiki.squid-cache.org/Features/QualityOfService - Mark broken if ssl set to openssl-devel, it doesn't build - Switch IPV6 option to options helpers PR: 215418 Submitted by: Pavel Timofeev <timp87@gmail.com> (maintainer) Security: CVE-2016-10002 Security: CVE-2016-10003 Security: https://vuxml.FreeBSD.org/freebsd/41f8af15-c8b9-11e6-ae1b-002590263bf5.html MFH: 2016Q4
11 lines
416 B
C++
11 lines
416 B
C++
--- src/tools.cc.orig 2016-12-16 10:06:20 UTC
|
|
+++ src/tools.cc
|
|
@@ -603,7 +603,7 @@ no_suid(void)
|
|
uid = geteuid();
|
|
debugs(21, 3, "no_suid: PID " << getpid() << " giving up root priveleges forever");
|
|
|
|
- if (setuid(0) < 0) {
|
|
+ if (setuid(0) < 0 && TheProcessKind != pkHelper) {
|
|
int xerrno = errno;
|
|
debugs(50, DBG_IMPORTANT, "WARNING: no_suid: setuid(0): " << xstrerr(xerrno));
|
|
}
|