summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/procfs/procfs_regs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* make sure uio_offset is a safe value, with suggestions from millert@tedu2004-05-051-3/+3
| | | | | ok deraadt@ millert@ problem noticed by deprotect.com
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Since all archs implement PT_GETREGS and PT_SETREGS, make then unoptional.art2002-03-111-9/+1
| | | | | | | | They still stay in MD code for backwards compatibility, but a check in ptrace.h checks if they are defined. Note - the same thing will be done with PT_{GET,SET}FPREGS once vax implements them and with PT_STEP when it's implemented by sparc, sparc64 and alpha.
* Add emulation of Linux features to procfs; mostly from NetBSD. ok deraadt@tholo2001-04-091-2/+3
|
* From NetBSD (thorpej):millert1997-08-291-3/+3
| | | | | Fix a reversed argument which caused procfs_checkioperm() to always return OK". Add a few comments to avoid further confusion.
* 1) pfs_mode should be mode_t, not u_shortmillert1997-08-161-1/+4
| | | | | | | | | | | 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.
* use <sys/queue.h> for pfsnode list.mickey1996-06-211-0/+1
| | | | $OpenBSD$ additions.
* initial import of NetBSD treederaadt1995-10-181-0/+107