summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/procfs/procfs_subr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* make sure uio_offset is a safe value, with suggestions from millert@tedu2004-05-051-1/+3
| | | | | ok deraadt@ millert@ problem noticed by deprotect.com
* constify constant namesmickey2003-08-111-5/+4
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* call lockmgr a bit earlier to avoid a race.tedu2003-04-281-7/+8
|
* Turn the ptrace(2) syscall into a kernel compile option, option PTRACE inmiod2002-03-141-1/+3
| | | | | | | | | | | | | your kernel configuration file. By default, GENERIC will enable this. When PTRACE is not enabled, several ptrace-like features of the procfs filesystem will be disabled as well (namely, the ability to read and write any process' registers, as well as attching, single stepping and detaching to/from processes). This should help paranoid people build better sandboxens, and us to build smaller ramdisks.
* Add proc0 to the PIDHASH table. art@ oknordin2002-01-301-2/+2
|
* uvm_vnp_setsizeart2001-11-151-2/+2
|
* lockmgr instead of rolling our own.art2001-11-151-16/+6
|
* Add emulation of Linux features to procfs; mostly from NetBSD. ok deraadt@tholo2001-04-091-2/+11
|
* Add procfs/cmdline; to help with linux emulation.jasoni2000-08-121-1/+5
| | | | From NetBSD.
* Updates for VFS Lite 2 + soft update.csapuntz1997-11-061-4/+9
|
* back out vfs lite2 till after 2.2deraadt1997-10-061-9/+4
|
* VFS Lite2 Changescsapuntz1997-10-061-4/+9
|
* 1) pfs_mode should be mode_t, not u_shortmillert1997-08-161-2/+2
| | | | | | | | | | | 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.
* From NetBSD (mycroft):millert1997-08-011-24/+18
| | | | | Eliminate bogus uses of V{READ,WRITE,EXEC}. Use S_I[RWX]{USR,GRP,OTH} where appropriate.
* block all write ops to init in securelevel modes; nash@mcs.comderaadt1997-06-211-1/+4
|
* Fix improper cast (compiler warning).millert1997-04-061-2/+3
|
* -Wall & -Wstrict-prototype fixesniklas1996-07-021-3/+1
|
* use <sys/queue.h> for pfsnode list.mickey1996-06-211-14/+11
| | | | $OpenBSD$ additions.
* From NetBSD: update to 960217 sourcesniklas1996-02-271-5/+7
|
* initial import of NetBSD treederaadt1995-10-181-0/+312