CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2019/07/05 07:23:27

Modified files:
        usr.sbin/syslogd: privsep.c syslogd.c syslogd.h 

Log message:
When syslogd(8) parent process terminates, the file cleanup code
did not work anymore.  unveil(2) prevented removal.  Cleaning the
UNIX domain sockets is not necessary.  They are harmless and unlinked
before a new bind.  So delete that functionality and convert global
to local variables.  Providing /var/run/syslog.pid is a common
feature that should be kept.  A stale pid file is confusing.  So
add a constant path to unveil(2) to allow pid file removal.
OK deraadt@

Reply via email to