Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Brown <email@example.com>
Date: 03/09/2005 05:02:17
Module Name: src
Committed By: atatat
Date: Wed Mar 9 05:02:17 UTC 2005
Add kern.file2. As kern.proc2 is to kern.proc, so is kern.file2 to
kern.file, namely a 32/64 bit clean sysctl interface to the same data.
It also borrows a few things from struct vnode (if applicable) and
from struct proc, just to tie things together a bit more.
You can walk this list "by file" or "by pid". The former method is
similar to kern.file but omits the filehead, and the latter can give
you duplicates if multiple processes have the same struct file open,
but tells you which process it is.
To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 src/sys/kern/init_sysctl.c
cvs rdiff -r1.129 -r1.130 src/sys/sys/sysctl.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.