From owner-cvs-all Mon Sep 14 04:50:40 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA24465 for cvs-all-outgoing; Mon, 14 Sep 1998 04:50:40 -0700 (PDT) (envelope-from owner-cvs-all) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA24459; Mon, 14 Sep 1998 04:50:36 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.1/8.8.5) with ESMTP id NAA24040; Mon, 14 Sep 1998 13:46:12 +0200 (CEST) To: Andrzej Bialecki cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/i386 machdep.c In-reply-to: Your message of "Mon, 14 Sep 1998 04:47:41 PDT." <199809141147.EAA18800@freefall.freebsd.org> Date: Mon, 14 Sep 1998 13:46:12 +0200 Message-ID: <24038.905773572@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199809141147.EAA18800@freefall.freebsd.org>, Andrzej Bialecki write s: >abial 1998/09/14 04:47:41 PDT > > Modified files: > sys/i386/i386 machdep.c > Log: > 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. Now dmesg should be changed to use this interface, so that one less program needs access to /dev/kmem... -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal