summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd/privsep.c
AgeCommit message (Collapse)Author
2004-01-04Buffered logging for syslogd. Logs may be stored in memory buffers andDamien Miller
extracted using a small client. Useful for diskless systems. much feedback from deraadt@, canacar@, jmc@, jakob@ ; ok deraadt@
2003-12-29delintTheo de Raadt
2003-12-29spacingTheo de Raadt
2003-12-29convert from select() to poll() for main event loop; tested millert@, deraadt@Damien Miller
ok deraadt@
2003-10-26correct bad dprintf, from Moritz Jodeit <moritz at jodeit.org>Anil Madhavapeddy
2003-10-24fix an occasional hang noticed by mpech@ when a SIGHUPCan Erkin Acar
is received after the configuration is modified. tested by mpech@, ok avsm@
2003-10-22setgroups; avsm okTheo de Raadt
2003-09-24cleanup privsep communications between child/parent with a lot moreAnil Madhavapeddy
paranoia. noticed by aaron@, feedback from drahn@ cloder@ millert@
2003-08-15remove extra \n in {warn,err}{,x} callsTheo de Raadt
2003-08-01clean up debug output some, and correct an incorrect error check inAnil Madhavapeddy
priv_gethostbyaddr()
2003-07-31delintTheo de Raadt
2003-07-31knfAnil Madhavapeddy
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