svn commit: r194829 - in projects/libprocstat/sys: kern sys

John Baldwin jhb at freebsd.org
Wed Jun 24 14:23:26 UTC 2009


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


More information about the svn-src-projects mailing list