From owner-freebsd-current Sun Jan 24 12:46:36 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA16763 for freebsd-current-outgoing; Sun, 24 Jan 1999 12:46:36 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA16758 for ; Sun, 24 Jan 1999 12:46:35 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id PAA16931; Sun, 24 Jan 1999 15:46:18 -0500 (EST) (envelope-from wollman) Date: Sun, 24 Jan 1999 15:46:18 -0500 (EST) From: Garrett Wollman Message-Id: <199901242046.PAA16931@khavrinen.lcs.mit.edu> To: Archie Cobbs Cc: current@FreeBSD.ORG Subject: kvm question In-Reply-To: <199901230748.XAA14754@bubba.whistle.com> References: <199901230748.XAA14754@bubba.whistle.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < said: > I ran into an interesting problem in the process of modifying > "netstat" to understand the PF_NETGRAPH protocol family. "netstat" > uses kvm_read(), etc. to read kernel symbols. However, this doesn't Don't do that. Use sysctl, that's what it's there for. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message