From owner-freebsd-hackers Wed Apr 10 9: 1:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from www.kozubik.com (www.kozubik.com [198.78.70.162]) by hub.freebsd.org (Postfix) with ESMTP id BB5FB37B404 for ; Wed, 10 Apr 2002 09:01:30 -0700 (PDT) Received: from localhost (john@localhost) by www.kozubik.com (8.11.0/8.11.0) with ESMTP id g3AFxn251447; Wed, 10 Apr 2002 08:59:49 -0700 (PDT) (envelope-from john@kozubik.com) Date: Wed, 10 Apr 2002 08:59:49 -0700 (PDT) From: John Kozubik X-Sender: john@www To: Jon Ringuette Cc: freebsd-hackers@freebsd.org Subject: Re: Question about possibly additions to TOP In-Reply-To: <3CB30109.83DF6C66@imeme.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG thanks for your patch - I think this _will_ be useful. Since there are security implications in giving arbitrary jail root users access to their own /dev/mem, /dev/kmem, and /dev/io devices, the ability to run `top` without these items is very useful. ----- John Kozubik - john@kozubik.com - http://www.kozubik.com On Tue, 9 Apr 2002, Jon Ringuette wrote: > John Kozubik wrote: > > > Hello, > > > > I am using `top` just fine in FreeBSD 4.5 inside of jails: > > > > > > I did not perform any special modifications - I just exploded a full /dev > > directory into my jail - since /dev/mem, /dev/kmem, and /dev/io are > > available to the jail it seems to work just fine. > > > > If I delete /dev/mem, /dev/kmem, and /dev/io inside the jail, top no > > longer runs. > > Ah, I did not have a fully exploded dev dir. I simply used the method > mentioned in the manpage for jail (which for some reason did not feel like > creating those directories). Though the patch just causes top to be able to > function in a crippled but usable manner in any situation that top can not get > all of its desired information which still may be useful. > > -jon > iMeme > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message