From owner-freebsd-current@FreeBSD.ORG Wed Nov 7 22:35:24 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 C38D540C; Wed, 7 Nov 2012 22:35:24 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (lrosenman-1-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:3ad::2]) by mx1.freebsd.org (Postfix) with ESMTP id 82F0F8FC16; Wed, 7 Nov 2012 22:35:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=Qns2SObzkAjS2Nv8/3bMw5+NMT915KFAn6RMJTGH1es=; b=o5qgYweHdWwFYLdrOK6bP0sSA0smWy7YpoR8GpS1iudbs1/JdViYF1q6ToImqENQUTrexy3PDN2E+1qy2DL4xC3MJRjNUYvGdnFa7G5rO9fILxsWH3I3TjFE6opdS6fFEKMYinKWjPmxozwqG6DitMahMpZvwP1pGFKixtK8qIQ=; Received: from localhost.lerctr.org ([127.0.0.1]:36968 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1TWEDS-000DKb-Mh; Wed, 07 Nov 2012 16:35:23 -0600 Received: from [32.97.110.60] by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Wed, 07 Nov 2012 16:35:22 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 07 Nov 2012 16:35:22 -0600 From: Larry Rosenman To: Greg 'groggy' Lehey Subject: Re: sysutils/lsof Author Question (for CLANG).... In-Reply-To: <20121107213917.GD77848@eureka.lemis.com> References: <5d4c4abe37bd6fffd0c206c1b7b68ce1@webmail.lerctr.org> <20121107213917.GD77848@eureka.lemis.com> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/0.8.2 X-Spam-Score: -3.3 (---) X-LERCTR-Spam-Score: -3.3 (---) X-Spam-Report: SpamScore (-3.3/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.37 X-LERCTR-Spam-Report: SpamScore (-3.3/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.37 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 22:35:24 -0000 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. Please don't abuse me for asking questions to keep lsof working on FreeBSD. Thanks.