Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2012 18:15:21 -0500
From:      Eitan Adler <lists@eitanadler.com>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        Greg 'groggy' Lehey <grog@freebsd.org>, freebsd-current@freebsd.org, Benjamin Kaduk <kaduk@mit.edu>
Subject:   Re: sysutils/lsof Author Question (for CLANG)....
Message-ID:  <CAF6rxgkSccO8=gnbc_GutJ08T6QkfbM%2Bst2%2BaEFxbKDO=gUpng@mail.gmail.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
On 7 November 2012 17:35, Larry Rosenman <ler@lerctr.org> 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.

Can you tell us what interfaces you need? Perhaps we can either point
you to ones that may work better or seek provide (stable) kernel
features?


> Please don't abuse me for asking questions to keep lsof working
> on FreeBSD.

:(


-- 
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgkSccO8=gnbc_GutJ08T6QkfbM%2Bst2%2BaEFxbKDO=gUpng>