Subject: CVS commit: src/sys/miscfs/procfs
To: None <source-changes@NetBSD.org>
From: Alistair G. Crooks <agc@netbsd.org>
List: source-changes
Date: 05/24/2007 00:37:41
Module Name:	src
Committed By:	agc
Date:		Thu May 24 00:37:41 UTC 2007

Modified Files:
	src/sys/miscfs/procfs: procfs.h procfs_linux.c procfs_subr.c
	    procfs_vnops.c

Log Message:
Extend the Linux emulation of /proc to include

	/proc/stat
	/proc/loadavg and
	/proc/<pid>/statm.

These are only present when -o linux is specified as a mount option
to procfs.

Factor out some common code so that it can be used by a number of
functions.

XXX The values returned in the statm emulation need to be verified.


To generate a diff of this commit:
cvs rdiff -r1.63 -r1.64 src/sys/miscfs/procfs/procfs.h
cvs rdiff -r1.34 -r1.35 src/sys/miscfs/procfs/procfs_linux.c
cvs rdiff -r1.79 -r1.80 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -r1.156 -r1.157 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.