From owner-freebsd-current@FreeBSD.ORG Wed Nov 7 23:00:38 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E5BD228 for ; Wed, 7 Nov 2012 23:00:38 +0000 (UTC) (envelope-from grog@lemis.com) Received: from w3.lemis.com (w3.lemis.com [208.86.224.149]) by mx1.freebsd.org (Postfix) with ESMTP id 3FC8A8FC12 for ; Wed, 7 Nov 2012 23:00:38 +0000 (UTC) Received: from eureka.lemis.com (1032.x.rootbsd.net [208.86.224.149]) by w3.lemis.com (Postfix) with ESMTP id 663B93B86E; Wed, 7 Nov 2012 23:00:36 +0000 (UTC) Received: by eureka.lemis.com (Postfix, from userid 1004) id 0ACB1F74EB; Thu, 8 Nov 2012 10:00:34 +1100 (EST) Date: Thu, 8 Nov 2012 10:00:34 +1100 From: Greg 'groggy' Lehey To: Larry Rosenman Subject: Re: sysutils/lsof Author Question (for CLANG).... Message-ID: <20121107230034.GF77848@eureka.lemis.com> References: <5d4c4abe37bd6fffd0c206c1b7b68ce1@webmail.lerctr.org> <20121107213917.GD77848@eureka.lemis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AH+kv8CCoFf6qPuz" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Organization: The FreeBSD Project Phone: +61-3-5346-1370 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: freebsd-current@freebsd.org, Benjamin Kaduk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2012 23:00:38 -0000 --AH+kv8CCoFf6qPuz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wednesday, 7 November 2012 at 16:35:22 -0600, Larry Rosenman wrote: > On 2012-11-07 15:39, Greg 'groggy' Lehey wrote: >> On Wednesday, 7 November 2012 at 10:32:23 -0500, Benjamin Kaduk >> wrote: >>> >>> Once again, attempting to use kernel internals outside of the >>> supported interfaces is just asking for trouble; I do not understand >>> why this message is not sinking in over the course of your previous >>> mails to these lists, so I will not try to belabor it further. >> >> IIRC lsof is a special case that always needs to be built with >> intimate knowledge of the kernel. > > This is VERY true. Since some of the information lsof uses has > no API/ABI/KPI/KBI to get, it grovels around in the kernel. And until those interfaces are provided, I think this is legitimate. If there's anybody out there who hasn't used lsof, you should try it. It's good. Greg -- Sent from my desktop computer. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft MUA reports problems, please read http://tinyurl.com/broken-mua --AH+kv8CCoFf6qPuz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCa6A4ACgkQIubykFB6QiP/RgCfaNKJLSg6/b/nyb9Pfosr2Q03 IZgAoI9veXGu/ovA714x4b2qOZ4krKrq =9Uq3 -----END PGP SIGNATURE----- --AH+kv8CCoFf6qPuz--