Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2012 10:00:34 +1100
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        freebsd-current@freebsd.org, Benjamin Kaduk <kaduk@mit.edu>
Subject:   Re: sysutils/lsof Author Question (for CLANG)....
Message-ID:  <20121107230034.GF77848@eureka.lemis.com>
In-Reply-To: <cdfb43c5a36fbb113194a9a381a1000b@webmail.lerctr.org>
References:  <5d4c4abe37bd6fffd0c206c1b7b68ce1@webmail.lerctr.org> <alpine.GSO.1.10.1211071030050.2164@multics.mit.edu> <20121107213917.GD77848@eureka.lemis.com> <cdfb43c5a36fbb113194a9a381a1000b@webmail.lerctr.org>

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

--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--



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