summaryrefslogtreecommitdiff
path: root/usr.sbin/rmt
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-07-31 18:20:08 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-07-31 18:20:08 +0000
commit76f4db8655d7a4a42cd58874aba187d65de568d6 (patch)
tree56508a78ba8d34a01eade478cccb289a7155dbe2 /usr.sbin/rmt
parent42a88e6e56997f2ae9854421641f80ac6aa802e6 (diff)
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
Diffstat (limited to 'usr.sbin/rmt')
0 files changed, 0 insertions, 0 deletions