Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2003 21:26:52 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Rus Foster <rghf@fsck.me.uk>
Cc:        current@freebsd.org
Subject:   Re: Top in jails
Message-ID:  <Pine.NEB.3.96L.1030823212350.89450A-100000@fledge.watson.org>
In-Reply-To: <20030822225835.L1199@thor.65535.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1030823212350.89450A-100000>