CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/11/24 16:59:22
Modified files:
sys/kern : kern_pledge.c subr_log.c
Log message:
Add sendsyslog2(), which accepts the syslog/openlog "logopt" flag
LOG_CONS. If syslogd is not accepting messages, direct them to the console.
This allows us to remove the direct /dev/console opening code from the
bowels of libc. Of course, that forgotten code was exposed by pledge.
ok kettenis millert beck
