summaryrefslogtreecommitdiff
path: root/sys/miscfs/procfs/procfs_mem.c
AgeCommit message (Collapse)Author
1997-08-29From NetBSD (thorpej):Todd C. Miller
Fix a reversed argument which caused procfs_checkioperm() to always return OK". Add a few comments to avoid further confusion.
1997-08-161) pfs_mode should be mode_t, not u_shortTodd C. Miller
2) Fix procfs security hole. This is basically the NetBSD fix (which is based in part on Sean Eric Fagan's FreeBSD fix) with a few minor changes. The change creates as function, procfs_checkioperm(), that has check numbers 3 and 4 from sys_ptrace(). 3) Make procfs_control() use procfs_checkioperm() as well (it already had the same basic checks but some of them were incorrect). 4) Minor stylistic cleanups, including the use of the SET/CLR/ISSET macros to aid general grokability.
1997-01-22Don't fault a page in twice (first prefault, then vm_fault); the first wasThorsten Lockert
not neccecary (and actually caused some problems).
1997-01-07Fix for final ptdi panic on i386Thorsten Lockert
1996-02-27From NetBSD: update to 960217 sourcesNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt