[13101] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Wmmon under FreeBSD

daemon@ATHENA.MIT.EDU (Dominic Mitchell)
Mon Dec 27 14:47:28 1999

Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Message-Id:  <19991224202700.A98201@voodoo.pandhm.co.uk>
Date:         Fri, 24 Dec 1999 20:27:01 +0000
Reply-To: Dominic Mitchell <Dom.Mitchell@PALMERHARVEY.CO.UK>
From: Dominic Mitchell <Dom.Mitchell@PALMERHARVEY.CO.UK>
X-To:         Ajax <ajax@LINWORTH.ORG>
To: BUGTRAQ@SECURITYFOCUS.COM
In-Reply-To:  <Pine.BSF.4.03.9912211530200.589-100000@vxgas.linworth.org>; from
              ajax@LINWORTH.ORG on Tue, Dec 21, 1999 at 03:35:34PM -0500

On Tue, Dec 21, 1999 at 03:35:34PM -0500, Ajax wrote:
> An alternative solution would be to read such information from kernfs,
> usually (although optionally) mounted at /kern.  kernfs is the *bsd
> equivalent to many of the files in linux's /proc.  This would, of
> course, require the app to be rewritten to use /kern instead of
> /dev/kmem, but well worth it in my opinion.
>
> I should like to know why more apps don't require the *bsd {proc,kern}fs
> interface.  They were, after all, designed to reduce the need for read
> access to /dev/kmem.

Under modern BSD4.4, the preferred method is using sysctl(3),(8), as
opposed to kernfs.
--
Dom Mitchell -- Palmer & Harvey McLane -- Unix Systems Administrator

    "EDLIN comes free with MS-DOS, and is expensive at the price."


--
**********************************************************************
This email and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed.
The email has been swept by MIMEsweeper for the presence of computer viruses.

www.palmerharvey.co.uk
**********************************************************************

home help back first fref pref prev next nref lref last post