From owner-freebsd-bugs Mon Apr 1 23: 0:17 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D7C6337B41B for ; Mon, 1 Apr 2002 23:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g32703K90504; Mon, 1 Apr 2002 23:00:03 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D97F437B400 for ; Mon, 1 Apr 2002 22:55:07 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g326t7187190; Mon, 1 Apr 2002 22:55:07 -0800 (PST) (envelope-from nobody) Message-Id: <200204020655.g326t7187190@freefall.freebsd.org> Date: Mon, 1 Apr 2002 22:55:07 -0800 (PST) From: Jon Ringutte To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/36646: [PATCH] Top does not work correctly in a jail Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36646 >Category: misc >Synopsis: [PATCH] Top does not work correctly in a jail >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 01 23:00:03 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jon Ringutte >Release: 4.5 >Organization: iMeme >Environment: FreeBSD lightning.bogus.com 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Tue Mar 26 02:04:57 EST 2002 wintermute@lightning.bogus.com:/usr/src/sys/compile/Lightning i386 >Description: The current implimentation of TOP in 4.5-RELEASE (and all previous) does not allow 'top' to be run inside of a jail. It fails due to not being able to access certain information via the kvm_read's (which is completly understandable). >How-To-Repeat: Create a jail and try to run 'top' in it. >Fix: Patch at : http://peoplearestrange.net/jon/machine.c.diff (this patch should work against 4.5-RELASE) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message