Re: Top in jails

From: Robert Watson <rwatson_at_freebsd.org>
Date: Sat, 23 Aug 2003 21:26:52 -0400 (EDT)
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_at_fledge.watson.org      Network Associates Laboratories
Received on Sat Aug 23 2003 - 16:27:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:19 UTC