CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2016/05/10 17:54:01

Modified files:
        sys/kern       : init_main.c subr_log.c 
        sys/sys        : systm.h 

Log message:
If sendsyslog(2) is called with LOG_CONS before syslogd(8) has been
started and before init(8) has opened the console, the kernel could
crash as the console device has not been initialized.  Open
/dev/console in the kernel before starting init(8) and keep it open.
This way sendsyslog(2) can be called early in the system.
OK beck@ deraadt@

Reply via email to