From owner-freebsd-current@FreeBSD.ORG Sat Aug 23 18:27:07 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C65DB16A4BF for ; Sat, 23 Aug 2003 18:27:07 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE9C843FDD for ; Sat, 23 Aug 2003 18:27:06 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h7O1QqrO089927; Sat, 23 Aug 2003 21:26:53 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h7O1QqEn089924; Sat, 23 Aug 2003 21:26:52 -0400 (EDT) Date: Sat, 23 Aug 2003 21:26:52 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Rus Foster In-Reply-To: <20030822225835.L1199@thor.65535.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: Top in jails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2003 01:27:07 -0000 On Fri, 22 Aug 2003, Rus Foster wrote: > I'm playing with jail on FBSD5 and wondered if there was anyway I could > use top without have to create /dev/mem. ATM anyone in the jail could > just do cat /dev/mem | grep for_intresting_stuff. Any ideas? > > Tried using devfs and still no luck top should run fine without /dev/mem -- by default, it will use sysctl(), and isn't setgid kmem, so can't access /dev/mem by default, so isn't using it even outside jail. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories