From owner-freebsd-hackers Mon Jul 21 18:36:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA25868 for hackers-outgoing; Mon, 21 Jul 1997 18:36:22 -0700 (PDT) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA25861 for ; Mon, 21 Jul 1997 18:36:20 -0700 (PDT) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id SAA08759; Mon, 21 Jul 1997 18:38:37 -0700 (PDT) Message-Id: <199707220138.SAA08759@implode.root.com> To: Aaron Smith cc: hackers@FreeBSD.ORG Subject: Re: pstat -T broken? In-reply-to: Your message of "Mon, 21 Jul 1997 17:41:13 PDT." From: David Greenman Reply-To: dg@root.com Date: Mon, 21 Jul 1997 18:38:36 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >i synced (with current) and made world today, and happened to notice that >'pstat -T' fails and complains about KERN_VNODE being undefined. anyone >else have this problem, or is it something with my config? I had to comment out support for that sysctl due to design problems with it resulting in systemn crashes. Sysctl just isn't up to passing potentially 10's of megabytes back to user processes. Further, there is also a significant security concern with providing so much information about all of the open files in the system. The information provided by pstat -T can be had via sysctl(8) and pstat -s. pstat -T should probably be nuked entirely or changed to use other mechanisms to get the information. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project