]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
This implements retrieving the contents of message buffer via sysctl(3)
authorabial <abial@FreeBSD.org>
Mon, 14 Sep 1998 11:47:40 +0000 (11:47 +0000)
committerabial <abial@FreeBSD.org>
Mon, 14 Sep 1998 11:47:40 +0000 (11:47 +0000)
commit5a678e68e9c40af9bc521e7132a670a64dc11cd7
tree5b62cf9e4d3edab4d176489b231a29ee12165692
parent043007b72ddd8e82f6d66203a8195c173f205718
This implements retrieving the contents of message buffer via sysctl(3)
as "machdep.msgbuf". It's needed in case of using stripped kernels, where
normal dmesg (which has to use kvm) doesn't work.

The buffer is unwound, meaning that the data will be linear, possibly
with some leading NULLs.

Reviewed by: Jordan K. Hubbard <jkh@freebsd.org>
sys/amd64/amd64/machdep.c
sys/i386/i386/machdep.c