summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd/privsep_fdpass.c
AgeCommit message (Collapse)Author
2004-09-14portable code should not use that gcc __func__ specific junk when it is not ↵Theo de Raadt
needed
2004-08-13extra check for no message case; ok markus, deraadt, hshoexer, henningDamien Miller
2004-07-03-Wall,-Wshadow cleanup with avsm@; ok henning@ krw@Damien Miller
2003-07-31Privilege separated syslog daemon. The child listening to log requests dropsAnil Madhavapeddy
to user _syslogd and chroots itself, while the privileged parent grants it access to open logfiles and other calls it needs. The only difference from existing behaviour is that if syslog.conf changes and syslogd receives a HUP, it will re-exec itself and have two new PIDs. A HUP with an unchanged config will make syslogd reopen logfiles as before. Lots of help and code from deraadt@ , and advice from millert@ Various versions tested by todd, cloder, mpech, markus, tdeval and others