Date: Mon, 30 Oct 2000 11:57:06 -0800 (PST) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/linux/linprocfs linprocfs.h linprocfs_misc.c linprocfs_subr.c linprocfs_vnops.c Message-ID: <200010301957.LAA22435@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2000/10/30 11:57:06 PST
Modified files: (Branch: RELENG_4)
sys/i386/linux/linprocfs linprocfs.h linprocfs_misc.c
linprocfs_subr.c linprocfs_vnops.c
Log:
MFC: Add proc/pid/stat and proc/pid/status. Make proc/cpuinfo correspond
better to what Linux would show. Avoid dividing by stathz when it's 0.
Disallow CREATE. PID directories are directories, not regular files.
Note that the information in proc/pid/stat and proc/pid/status is not
entirely correct (many fields are hardcoded to 0). I know how to fix most
of them, but do not have time to do so (and test the changes properly)
before 4.2, so this will have to do for now.
Revision Changes Path
1.2.2.3 +5 -1 src/sys/i386/linux/linprocfs/linprocfs.h
1.3.2.3 +219 -17 src/sys/i386/linux/linprocfs/linprocfs_misc.c
1.3.2.3 +11 -1 src/sys/i386/linux/linprocfs/linprocfs_subr.c
1.3.2.3 +13 -4 src/sys/i386/linux/linprocfs/linprocfs_vnops.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010301957.LAA22435>
