]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 4914: Do not call setsid() in --foreground mode (#354)
authorMarcos Mello <marcosfrm@users.noreply.github.com>
Wed, 23 Jan 2019 15:18:43 +0000 (15:18 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 23 Jan 2019 15:35:32 +0000 (15:35 +0000)
commite6dbb95a188639ae01b32e49325dec79e25f6821
tree074c4cc52011401ce9ab08c450f8ecaf4240f7b3
parenta12f1a4c6ca6e058d1bc10113a59be7fa6ee5c2d
Bug 4914: Do not call setsid() in --foreground mode (#354)

Squid executed in --foreground is always a process group leader. Thus,
setsid(2) is unnecessary and always fails (with EPERM) for such Squids.
src/main.cc