Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2009 08:46:48 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Ulf Lilleengen <lulf@freebsd.org>
Cc:        svn-src-projects@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r194829 - in projects/libprocstat/sys: kern sys
Message-ID:  <200906240846.48408.jhb@freebsd.org>
In-Reply-To: <200906241207.n5OC7PZx013705@svn.freebsd.org>
References:  <200906241207.n5OC7PZx013705@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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