From owner-freebsd-ports Fri Nov 8 13:21:42 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA09706 for ports-outgoing; Fri, 8 Nov 1996 13:21:42 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA09696; Fri, 8 Nov 1996 13:21:26 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id WAA25762; Fri, 8 Nov 1996 22:21:18 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA15179; Fri, 8 Nov 1996 22:21:17 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id WAA06830; Fri, 8 Nov 1996 22:13:30 +0100 (MET) From: J Wunsch Message-Id: <199611082113.WAA06830@uriah.heep.sax.de> Subject: Re: XFree86 contrib To: asami@freebsd.org (Satoshi Asami) Date: Fri, 8 Nov 1996 22:13:29 +0100 (MET) Cc: jmz@freebsd.org, ports@freebsd.org, rich@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199611080749.XAA09567@silvia.HIP.Berkeley.EDU> from Satoshi Asami at "Nov 7, 96 11:49:02 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Satoshi Asami wrote: > P.S. Rich, please look at the enclosed patch -- I'm not sure what's > reversed here, but AFAIK we still have kmem only readable by group > kmem. I took the FreeBSD part completely out in this patch, if that's > inappropriate please let me know. I'm not Rich... anyway, this already came up in the XFree86 beta group. It's definately _not_ a kmem access problem, but rather that xload is apparently built using the wrong options. It's not supposed to access /dev/kmem, but should use getloadavg(3) instead (which in turn uses sysctl(3)). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)