From owner-cvs-all Mon Feb 12 17:55:22 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 4800837B4EC; Mon, 12 Feb 2001 17:55:15 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id MAA12370; Tue, 13 Feb 2001 12:55:10 +1100 Date: Tue, 13 Feb 2001 12:54:45 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Robert Watson Cc: Peter Wemm , Warner Losh , Peter Pentchev , Dag-Erling Smorgrav , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm vm_zone.c vm_zone.h In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 12 Feb 2001, Robert Watson wrote: > On Mon, 12 Feb 2001, Peter Wemm wrote: > > All this sysctl stuff is fine, but dont kill the crashdump reading code! > > If -M or -N are specified then use the old way (and require root to be > > running it). Without -M or -N, use sysctl. > > All patches submitted on the freebsd-audit mailing list to remove setgid > from top, systat, dmesg, etc, have maintained backwards compatibility by > using kmem when the -M or -N argument is provided, permitting them to > continue to work on system dumps -- and even on /dev/kmem, it just This was easy for top and systat because they don't have a -M or -N arg or work on system dumps :-). OTOH, the [-W swap] arg for ps and corresponding support in libkvm have been broken for a long time. No one seems to miss them, but they are still documented. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message