summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/procfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* make procfs compile on non-uvm systemsericj2000-08-152-5/+7
|
* update sample directory listing.jasoni2000-08-121-9/+11
|
* document cmdline.jasoni2000-08-121-1/+4
|
* Add procfs/cmdline; to help with linux emulation.jasoni2000-08-124-4/+230
| | | | From NetBSD.
* update to use new checkexp vfs operationassar2000-02-071-3/+6
|
* Better fix for fdesc/procfs panic.csapuntz1999-08-131-5/+4
|
* in *_readdir(), constrain uio_offset to make sure it is right; cstone@pobox.comderaadt1999-08-131-4/+5
|
* New struct statfs with mount options. NOTE: this replaces statfs(2),millert1999-05-311-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fstatfs(2), and getfsstat(2) so you will need to build a new kernel before doing a "make build" or you will get "unimplemented syscall" errors. The new struct statfs has the following featuires: o Has a u_int32_t flags field--now softdep can have a real flag. o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man page used to lie about setting invalid/unused fields to -1. SunOS does that but our code never has. o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9 and having it there but always 0 is confusing. It is conceivable that this may cause some old code to not compile but that is better than silently breaking. o Adds a mount_info union that contains the FSTYPE_args struct. This means that "mount" can now tell you all the options a filesystem was mounted with. This is especially nice for NFS. Other changes: o The linux statfs emulation didn't convert between BSD fs names and linux f_type numbers. Now it does, since the BSD f_type number is useless to linux apps (and has been removed anyway) o FreeBSD's struct statfs is different from our (both old and new) and thus needs conversion. Previously, the OpenBSD syscalls were used without any real translation. o mount(8) will now show extra info when invoked with no arguments. However, to see *everything* you need to use the -v (verbose) flag.
* vmtotal -> uvm_total for uvmart1999-02-261-1/+9
|
* memory reads from other vmspace are different under uvmart1999-02-261-2/+22
|
* OK, this is another fix for the infamous i386 "PTDI panic". This fix is thepefo1998-08-301-2/+6
| | | | | | | | | | same as is used in 'vslock()'. The situation when this occurs is when a process tries to read or write to another process vm space and the _segment_ referenced have not yet been mapped. A certain way of crashing a system is to debug a program larger than 4 Mb (yes, those critters exist!). Set a break in an address above 4 Mb and pmap_enter panics because it can't fault in a new ptd page since it is not the process itself that calls pmap_enter. This is a fix, not a solution, but at least a user can't crash the kernel.
* Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlockcsapuntz1998-08-061-22/+2
| | | | | | | | | | | | to be vop_generic_revoke, vop_generic_bwrite, vop_generic_islocked, vop_generic_lock and vop_generic_unlock. Create vop_generic_abortop and propogate change to all file systems. Fix PR/371. Get rid of locking in NULLFS (should be mostly unnecessary now except for forced unmounts).
* securelevels do NOT protect running binaries; only filesystem activityderaadt1998-06-271-8/+1
|
* do not permit ptrace attach to immutable executablederaadt1998-06-091-1/+8
|
* Updates to match type changes in syscall tablestholo1998-02-081-3/+3
|
* fix a nasty code typo; rotel@indigo.iederaadt1997-12-301-2/+2
|
* Updates for VFS Lite 2 + soft update.csapuntz1997-11-064-82/+31
|
* back out vfs lite2 till after 2.2deraadt1997-10-064-31/+82
|
* VFS Lite2 Changescsapuntz1997-10-064-82/+31
|
* Fix {KERNFS,NULLFS,UMAPFS,UNION}_DIAGNOSTIC kernel compilation errors.millert1997-09-111-4/+4
| | | | From Alan Barrett <apb@iafrica.com> with some changes.
* From NetBSD (thorpej):millert1997-08-296-21/+26
| | | | | 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-167-47/+81
| | | | | | | | | | | 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-012-33/+30
| | | | | 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
|
* OpenBSD tagniklas1997-02-241-0/+1
|
* Don't fault a page in twice (first prefault, then vm_fault); the first wastholo1997-01-221-5/+1
| | | | not neccecary (and actually caused some problems).
* Fix for final ptdi panic on i386tholo1997-01-071-2/+6
|
* mimic ptrace behaviour; worked out with bitbltderaadt1996-10-141-4/+25
|
* Boy do I feel like a fool. I added a bugfix to Theos' changes, and thenbitblt1996-09-271-15/+1
| | | | | | | | discovered that I had commited a bunch of nonfunctional changes Theo had made, but not debugged. This undoes both my changes, and Theo's. When this code is functional, it will be put back in. Thank you for pointing this out to me David Mazieres.
* It should be possible to trace init if securelevel is at 0, single-user mode,bitblt1996-09-261-1/+16
| | | | without having to peg the system at securelevel -1.
* -Wall & -Wstrict-prototype fixesniklas1996-07-021-3/+1
|
* use <sys/queue.h> for pfsnode list.mickey1996-06-216-22/+17
| | | | $OpenBSD$ additions.
* show Virtual Memory total/used to df.mickey1996-06-201-3/+5
|
* partial sync with netbsd 960418, more to comederaadt1996-04-212-6/+7
|
* From NetBSD: update to 960217 sourcesniklas1996-02-276-173/+297
|
* initial import of NetBSD treederaadt1995-10-1811-0/+2737