Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2002 22:55:07 -0800 (PST)
From:      Jon Ringutte <wintermute@imeme.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/36646: [PATCH] Top does not work correctly in a jail
Message-ID:  <200204020655.g326t7187190@freefall.freebsd.org>

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

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204020655.g326t7187190>