CVS: cvs.openbsd.org: src
CVSROOT: /cvs
Module name: src
Changes by: avsm@cvs.openbsd.org 2003/07/31 12:20:07
Modified files:
usr.sbin/syslogd: Makefile syslogd.c
Added files:
usr.sbin/syslogd: privsep.c privsep_fdpass.c syslogd.h ttymsg.c
Log message:
Privilege separated syslog daemon. The child listening to log requests drops
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
Received on Thu Jul 31 14:21:14 2003
This archive was generated by hypermail 2.1.8
: Wed Aug 23 2006 - 13:48:06 EDT
|