From owner-svn-src-projects@FreeBSD.ORG  Wed Jun 24 14:23:25 2009
Return-Path: <owner-svn-src-projects@FreeBSD.ORG>
Delivered-To: svn-src-projects@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 899CD10656C6;
	Wed, 24 Jun 2009 14:23:25 +0000 (UTC) (envelope-from jhb@freebsd.org)
Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42])
	by mx1.freebsd.org (Postfix) with ESMTP id 5B8F08FC2C;
	Wed, 24 Jun 2009 14:23:25 +0000 (UTC) (envelope-from jhb@freebsd.org)
Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net
	[66.111.2.69])
	by cyrus.watson.org (Postfix) with ESMTPSA id 118E046B3B;
	Wed, 24 Jun 2009 10:23:25 -0400 (EDT)
Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8])
	by bigwig.baldwin.cx (Postfix) with ESMTPA id C03018A086;
	Wed, 24 Jun 2009 10:23:23 -0400 (EDT)
From: John Baldwin <jhb@freebsd.org>
To: Ulf Lilleengen <lulf@freebsd.org>
Date: Wed, 24 Jun 2009 08:46:48 -0400
User-Agent: KMail/1.9.7
References: <200906241207.n5OC7PZx013705@svn.freebsd.org>
In-Reply-To: <200906241207.n5OC7PZx013705@svn.freebsd.org>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200906240846.48408.jhb@freebsd.org>
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1
	(bigwig.baldwin.cx); Wed, 24 Jun 2009 10:23:23 -0400 (EDT)
X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx
X-Virus-Status: Clean
X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE
	autolearn=no version=3.2.5
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx
Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org
Subject: Re: svn commit: r194829 - in projects/libprocstat/sys: kern sys
X-BeenThere: svn-src-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "SVN commit messages for the src &quot; projects&quot;
	tree" <svn-src-projects.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-projects>, 
	<mailto:svn-src-projects-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-projects>
List-Post: <mailto:svn-src-projects@freebsd.org>
List-Help: <mailto:svn-src-projects-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-projects>, 
	<mailto:svn-src-projects-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Jun 2009 14:23:26 -0000

On Wednesday 24 June 2009 8:07:25 am Ulf Lilleengen wrote:
> Author: lulf
> Date: Wed Jun 24 12:07:25 2009
> New Revision: 194829
> URL: http://svn.freebsd.org/changeset/base/194829
> 
> Log:
>   - Add extra fields to kinfo_file that is needed by fstat, and export it in the
>     kern.proc.filedesc sysctl.

It would actually be nice to have a fileops method that compues the path for a
given file descriptor and use that to set the path.  For vnodes it would use
vn_fullpath(), but other file descriptor types may also have names (e.g.
POSIX shm and sem descriptors).

-- 
John Baldwin