Subject: CVS commit: src/usr.sbin/syslogd
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <email@example.com>
Date: 11/19/2004 02:51:18
Module Name: src
Committed By: thorpej
Date: Fri Nov 19 02:51:18 UTC 2004
We have to read the config file the first time after we allocate the
kqueue descriptor, because we set up events after we parse the file.
Unfortuntately, this means that we also have to do the chroot before
we read the config file. But this is OK -- the config file has to be
in the chroot environment anyway, because it has to be able to get to
it after SIGHUP.
Grrr, all because stupid kqueue descriptors are not inherited across
a fork. LAME.
To generate a diff of this commit:
cvs rdiff -r1.70 -r1.71 src/usr.sbin/syslogd/syslogd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.