From owner-freebsd-current@FreeBSD.ORG Wed Nov 7 23:16:01 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 2BF4690E for ; Wed, 7 Nov 2012 23:16:01 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 910868FC15 for ; Wed, 7 Nov 2012 23:15:59 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id e12so2108751lag.13 for ; Wed, 07 Nov 2012 15:15:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/m+BRXIVmV4Bum98rgpeAIhghpawAoMgRCFL7RtuT5w=; b=lP4jtd7uYPzKgTwgiM3GwZUX7Cmhq/Vqh2TpPpIqArdRJlRzysjShXNnhCBjoO+WlZ dVY8hQFe+frUHMX2UOhoPDvsGiowzdYvsmkJmEsjHQsUtrFJ5RXVdetKJzZtPHFTATjZ XsSJcLvSbFgAKhVo0s/8xYK6h6mge6clhCSmM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=/m+BRXIVmV4Bum98rgpeAIhghpawAoMgRCFL7RtuT5w=; b=Z/DXvFho5ZZ5Krgzh1oN+11NezvAtuBEjoNN+6I9OvnIzIU8YSJ/YZW+o9U7eTLdjn vkQSwamFpc8EsvY2+Y78N6AzseDLGMMLtkBRVNDEQKFqzmQ3gNC41bArvazjO/22jbhN 2vv4/ApYmJ8b2Rla9Oec4iy0NrX9SsihHJ/wltvJQewq7RU0hmXLac4LNaQ810xDqx9U jQ7/SBREFRm+zb+QhlnJ0gUjOQWAYpZKzfg7LC91Popj5xXbWVG0bJxl14eThkW9HKsF YvHYiLn1oSEHSGYMSxXjejydYprXfwjuzkSe5Wj0MepsFU2C9k8nnQLDAJ3aeY1V8lLH YwTA== Received: by 10.152.131.200 with SMTP id oo8mr5696504lab.34.1352330151816; Wed, 07 Nov 2012 15:15:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.25.166 with HTTP; Wed, 7 Nov 2012 15:15:21 -0800 (PST) In-Reply-To: References: <5d4c4abe37bd6fffd0c206c1b7b68ce1@webmail.lerctr.org> <20121107213917.GD77848@eureka.lemis.com> From: Eitan Adler Date: Wed, 7 Nov 2012 18:15:21 -0500 Message-ID: Subject: Re: sysutils/lsof Author Question (for CLANG).... To: Larry Rosenman Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmN7S87fSsuXVuOhrwH4C5PVvGTu/IVGgS58hVi1M0aEyZ5uaIgVzH9X2aUayXYjPAFeoon Cc: Greg 'groggy' Lehey , 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:16:01 -0000 On 7 November 2012 17:35, 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. 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