Date: Wed, 24 Jan 1996 10:42:00 -0800 (PST) From: Peter Wemm <peter> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/miscfs/procfs procfs.h procfs_ctl.c procfs_fpregs.c procfs_mem.c procfs_regs.c procfs_vnops.c Message-ID: <199601241842.KAA11210@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 96/01/24 10:41:55 Modified: sys/miscfs/procfs procfs.h procfs_ctl.c procfs_fpregs.c procfs_mem.c procfs_regs.c procfs_vnops.c Log: Major fixes for procfs.. Implement a "variable" directory structure. Files that do not make sense for the given process do not "appear" and cannot be opened. For example, "system" processes do not have "file", "regs" or "fpregs", because they do not have a user area. "attempt" to fill in the user area of a given process when it is being accessed via /proc/pid/mem (the user struct is just after VM_MAXUSER_ADDRESS in the process address space.) Dont do IO to the U area while it's swapped, hold it in place if possible. Lock off access to the "ctl" file if it's done a setuid like the other pseudo-files in there. Revision Changes Path 1.9 +6 -1 src/sys/miscfs/procfs/procfs.h 1.9 +8 -3 src/sys/miscfs/procfs/procfs_ctl.c 1.3 +13 -1 src/sys/miscfs/procfs/procfs_fpregs.c 1.16 +10 -1 src/sys/miscfs/procfs/procfs_mem.c 1.3 +13 -1 src/sys/miscfs/procfs/procfs_regs.c 1.20 +38 -15 src/sys/miscfs/procfs/procfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601241842.KAA11210>