]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
prf: add setting of msgbuftrigger in paths where it is missing
authorChuck Silvers <chs@FreeBSD.org>
Fri, 13 Oct 2023 22:00:34 +0000 (15:00 -0700)
committerChuck Silvers <chs@FreeBSD.org>
Fri, 13 Oct 2023 22:02:37 +0000 (15:02 -0700)
commitc545a7b2c7db90b7647ef0a4f1fce05e4d7664a0
treefb88b03e38d1b608530cb613fea2a7d0cf082f91
parent922337e8d3989e4f54a0338b7fc397e3e0af7832
prf: add setting of msgbuftrigger in paths where it is missing

Logging things to msgbuf is supposed to set msgbuftrigger so that
syslogd will notice that there is more to read from /dev/klog,
but several paths do not do that.  Add the missing trigger.

Reviewed by: imp, kib
Differential Revision: https://reviews.freebsd.org/D42173
sys/kern/subr_prf.c