diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-07-31 18:20:08 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-07-31 18:20:08 +0000 |
commit | 76f4db8655d7a4a42cd58874aba187d65de568d6 (patch) | |
tree | 56508a78ba8d34a01eade478cccb289a7155dbe2 /usr.sbin/syslogd/Makefile | |
parent | 42a88e6e56997f2ae9854421641f80ac6aa802e6 (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/syslogd/Makefile')
-rw-r--r-- | usr.sbin/syslogd/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/syslogd/Makefile b/usr.sbin/syslogd/Makefile index 8c9d47e4278..2cefbabc26a 100644 --- a/usr.sbin/syslogd/Makefile +++ b/usr.sbin/syslogd/Makefile @@ -1,8 +1,7 @@ -# $OpenBSD: Makefile,v 1.3 1997/09/21 11:44:29 deraadt Exp $ +# $OpenBSD: Makefile,v 1.4 2003/07/31 18:20:07 avsm Exp $ PROG= syslogd -SRCS= syslogd.c ttymsg.c -.PATH: ${.CURDIR}/../../usr.bin/wall +SRCS= syslogd.c ttymsg.c privsep.c privsep_fdpass.c MAN= syslogd.8 syslog.conf.5 .include <bsd.prog.mk> |