OpenBSD cvs log

created 2021-03-17T17:06:46Z
begin 2021-03-09T14:13:33Z
end 2021-03-09T15:08:23Z
path src/sys
commits 1

date 2021-03-09T15:08:23Z
author bluhm
files src/sys/kern/subr_log.c log diff annotate
src/sys/sys/malloc.h log diff annotate
message Early daemons like dhcpleased(8), slaacd(8), unwind(8), resolvd(8)
are started before syslogd(8). This resulted in ugly sendsyslog(2)
dropped logs and the real message was lost.
Create a temporary stash for log messages within the kernel. It
has a limited size of 100 messages, and each message is truncated
to 8192 bytes. When the stash is exhausted, the well-known dropped
message is generated with a counter. After syslogd(8) has setup
everything, it sends a debug line through libc to flush the kernel
stash. Then syslogd receives all messages from the kernel before
the usual logs.
OK deraadt@ visa@