]> git.ipfire.org Git - thirdparty/squid.git/commit
Call leave_suid() in fatal() to make sure that swap.state files are written as the...
authorwessels <>
Sat, 7 Jul 2007 03:19:57 +0000 (03:19 +0000)
committerwessels <>
Sat, 7 Jul 2007 03:19:57 +0000 (03:19 +0000)
commit975b5060aa6808de657cace729f888c2f09a23df
tree4932cd1ac2efea7d4a364974f64147bb768dab56
parent9bdc291b5e6cb3ebe5565b21250668d7659769e3
Call leave_suid() in fatal() to make sure that swap.state files are written as the effective user, rather than root.

Squid may take on root privs during reconfigure.  If squid.conf
contains a "Bungled" line, fatal() will be called when the process
still has root privs.
src/tools.cc