OpenBSD/src x5ooRy3 — usr.sbin/syslogd syslogd.c
syslogd has special code to report errors before it has been initialized. For every message it did reopen the console with file descriptor passing from the privsep parent. Now preopen the console, so writing the message out works in more cases. If the console has been revoked, a reopen via privsep and write again is tried anyway. OK brynet@ deraadt@ jca@
Version | Delta | File | |
---|---|---|---|
1.248 | +8 | -6 | usr.sbin/syslogd/syslogd.c |
+8 | -6 | 1 files |