summaryrefslogtreecommitdiff
path: root/sys/miscfs/procfs
AgeCommit message (Collapse)Author
2000-08-15NUL not NULL; noted by Theo.jasoni
2000-08-15make procfs compile on non-uvm systemsEric Jackson
2000-08-12update sample directory listing.jasoni
2000-08-12document cmdline.jasoni
2000-08-12Add procfs/cmdline; to help with linux emulation.jasoni
From NetBSD.
2000-02-07update to use new checkexp vfs operationassar
1999-08-13Better fix for fdesc/procfs panic.Constantine Sapuntzakis
1999-08-13in *_readdir(), constrain uio_offset to make sure it is right; cstone@pobox.comTheo de Raadt
1999-05-31New struct statfs with mount options. NOTE: this replaces statfs(2),Todd C. Miller
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.
1999-02-26vmtotal -> uvm_total for uvmArtur Grabowski
1999-02-26memory reads from other vmspace are different under uvmArtur Grabowski
1998-08-30OK, this is another fix for the infamous i386 "PTDI panic". This fix is thePer Fogelstrom
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.
1998-08-06Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlockConstantine Sapuntzakis
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).
1998-06-27securelevels do NOT protect running binaries; only filesystem activityTheo de Raadt
1998-06-09do not permit ptrace attach to immutable executableTheo de Raadt
1998-02-08Updates to match type changes in syscall tablesThorsten Lockert
1997-12-30fix a nasty code typo; rotel@indigo.ieTheo de Raadt
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-09-11Fix {KERNFS,NULLFS,UMAPFS,UNION}_DIAGNOSTIC kernel compilation errors.Todd C. Miller
From Alan Barrett <apb@iafrica.com> with some changes.
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-08-01From NetBSD (mycroft):Todd C. Miller
Eliminate bogus uses of V{READ,WRITE,EXEC}. Use S_I[RWX]{USR,GRP,OTH} where appropriate.
1997-06-21block all write ops to init in securelevel modes; nash@mcs.comTheo de Raadt
1997-04-06Fix improper cast (compiler warning).Todd C. Miller
1997-02-24OpenBSD tagNiklas Hallqvist
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-10-14mimic ptrace behaviour; worked out with bitbltTheo de Raadt
1996-09-27Boy do I feel like a fool. I added a bugfix to Theos' changes, and thenbitblt
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.
1996-09-26It should be possible to trace init if securelevel is at 0, single-user mode,bitblt
without having to peg the system at securelevel -1.
1996-07-02-Wall & -Wstrict-prototype fixesNiklas Hallqvist
1996-06-21use <sys/queue.h> for pfsnode list.Michael Shalayeff
$OpenBSD$ additions.
1996-06-20show Virtual Memory total/used to df.Michael Shalayeff
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-02-27From NetBSD: update to 960217 sourcesNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt