summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs
Commit message (Collapse)AuthorAgeFilesLines
* Killed the "probably_never" ifdef'd code.dg1995-06-281-68/+1
|
* Remove trailing whitespace.rgrimes1995-05-304-9/+9
|
* Fixed panic that resulted from mmaping files in kernfs and procfs. Adg1995-05-253-33/+7
| | | | | | | | | | regular user could panic the machine with a simple "tail /proc/curproc/mem" command. The problem was twofold: both kernfs and procfs didn't fill in the mnt_stat statfs struct (which would later lead to an integer divide fault in the vnode pager), and kernfs bogusly paniced if a bmap was attempted. Reviewed by: John Dyson
* Fix -Wformat warnings from LINT kernel.rgrimes1995-05-111-3/+3
|
* For P_SUGID processes, we must also change ownership of the mem filedg1995-04-151-2/+10
| | | | to root so that group kmem can still get to it. *SIGH*
* Retain group kmem readability for P_SUGID processes.dg1995-04-151-2/+6
|
* Made /proc/n/mem file group kmem and group readable. Needed to fix ps sodg1995-04-153-5/+7
| | | | that it doesn't need to be setuid root.
* Add four more filesystem flags:wollman1995-03-161-2/+2
| | | | | | | | | | VFCF_NETWORK (this FS goes over the net) VFCF_READONLY (read-write mounts do not make any sense) VFCF_SYNTHETIC (data in this FS is not real) VFCF_LOOPBACK (this FS aliases something else) cd9660 is readonly; nullfs, umapfs, and union are loopback; NFS is netowkr; procfs, kernfs, and fdesc are synthetic.
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-163-5/+11
| | | | | | (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
* Make sure process isn't swapped when messing with it.dg1995-02-202-3/+4
| | | | Added missing newline to log() call.
* Fixed bmap run-length brokeness.dg1995-02-031-1/+3
| | | | | | Use bmap run-length extension when doing clustered paging. Submitted by: John Dyson
* Initialize map start hint to vm_map_find()...not doing so will cause itdg1995-01-051-2/+2
| | | | | | to fail if the random thing on the stack happens to be too large. Submitted by: David Jones <dej@qpoint.torfree.net>
* Fix problem when attached process detachedache1994-12-311-1/+5
| | | | Submitted by: Gary Jennejohn
* Fixed bug I just introduced that would have allowed a user to clobberdg1994-10-181-4/+6
| | | | his kernel stack.
* Allow upages to be paged in/accessed.dg1994-10-181-2/+2
| | | | Submitted by: John Dyson
* Cosmetics. reduce the noise from gcc -Wall.phk1994-10-103-13/+19
|
* Use tsleep() rather than sleep so that 'ps' is more informative aboutdg1994-10-061-2/+2
| | | | the wait.
* 1) Added "." and ".." entries.dg1994-09-241-4/+20
| | | | | | 2) Fixed directory size to return something reasonable. 3) Disabled "file" until the code is completed. 4) Corrected directory link counts.
* Implemented loadable VFS modules, and made most existing filesystemswollman1994-09-212-2/+6
| | | | loadable. (NFS is a notable exception.)
* Supply prototypes for some functions that were implicitly declared andbde1994-09-151-2/+3
| | | | fix the resulting warnings.
* Fix up some sloppy coding practices:wollman1994-08-182-3/+8
| | | | | | | | | | | | - Delete redundant declarations. - Add -Wredundant-declarations to Makefile.i386 so they don't come back. - Delete sloppy COMMON-style declarations of uninitialized data in header files. - Add a few prototypes. - Clean up warnings resulting from the above. NB: ioconf.c will still generate a redundant-declaration warning, which is unavoidable unless somebody volunteers to make `config' smarter.
* Added $Id$dg1994-08-0210-20/+10
|
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-252-0/+27
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-2411-0/+2666
OpenPOWER on IntegriCloud