CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2026/06/11 09:41:33

Modified files:
        usr.sbin/syslogd: Makefile privsep.c syslogd.c syslogd.h 
        etc/rc.d       : syslogd 
Added files:
        usr.sbin/syslogd: Makefile.inc parent.c 
        usr.sbin/syslogd/parent: Makefile 
        usr.sbin/syslogd/syslogd: Makefile 

Log message:
Provide a separate executable file for syslogd parent.

syslogd(8) forks and execs its parent process to keep privileged
parts separated.  This parent process can be easily implemented as
a separate program.  It gets its own main() and minimal debug logging
functions.  The splitted parent process image is smaller, especially
without additional libs.
Use additional directories to build both parts.  The rcctl script
has to be adopted, as the parent process has a different name.

OK deraadt@

Reply via email to