summaryrefslogtreecommitdiff
path: root/sys/miscfs
AgeCommit message (Collapse)Author
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1998-12-28kernfs_sync needs to be nullop, not eopnotsupp for unmount to workTodd C. Miller
w/o MNT_FORCE.
1998-12-24in kernfs_statfs set f_flags to 0Todd C. Miller
1998-11-13When vclean calls VOP_LOCK (dead_lock in this case) it has already setArtur Grabowski
the VXLOCK flag. Calling chkvnlock in that case causes a deadlock. XXX note that only vclean passes LK_DRAIN to VOP_LOCK and don't call chkvnlock XXX in that case.
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-18indent # properly; garnett@bogus.cs.colorado.eduTheo de Raadt
1998-08-06Null mounts must be from directoriesConstantine Sapuntzakis
1998-08-06Fix the typos that prevented umap from working. They, of course, leadConstantine Sapuntzakis
to the obvious question: don't you run this stuff before you check it in? Sadly, the answer was no in this case. But, I'm trying to learn. Slowly, painfully....
1998-08-06Don't pass vclean related stuff to the lower vnode. It makes it very unhappy.Constantine Sapuntzakis
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-07-13Fix locking discipline snafu with UNIONFS. Thanks to Don Schmid ↵Constantine Sapuntzakis
(yensid@imsa.edu) for the original fix and Todd Miller.
1998-06-27securelevels do NOT protect running binaries; only filesystem activityTheo de Raadt
1998-06-11return EOPNOTSUPP for chflags() changes; peter@freebsdTheo de Raadt
1998-06-09do not permit ptrace attach to immutable executableTheo de Raadt
1998-03-01Use __alpha__ and __mips__ instead of alpha & arcNiklas Hallqvist
1998-03-01mips and alpha GCC does not unwind the stack beyond the current frameNiklas Hallqvist
1998-02-23Please GCC 2.8 -Wall + some KNFNiklas Hallqvist
1998-02-08Updates to match type changes in syscall tablesThorsten Lockert
1997-12-30fix a nasty code typo; rotel@indigo.ieTheo de Raadt
1997-12-28I should be more careful about what I check in. Undo earlier commenting-outConstantine Sapuntzakis
of security check. Restricted access to /dev/memat higher secure levels now enabled.
1997-12-27Fixed null_inactie so it odes the right thing.Constantine Sapuntzakis
1997-11-06Removed i386-specific crudConstantine Sapuntzakis
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-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-26struct definitions in .h files and instances in .c file please.kstailey
Vic Able: > While <miscfs/kernfs/kernfs.h> has a kernfs_node, it depends > on a structure that's defined in <miscfs/kernfs/kernfs_vnops.c>. > Oops! That's not very social. :-) [I built a new kernel fine, but don't have time to run "make build" it is my intuition that this will not have any bad effects, but I didn't test. Just back it out if it hurts you and I'll try again.]
1997-04-10Don't use gcc builtin __builtin_return_address(frameno) onTodd C. Miller
alpha, it crashes the kernel. This is a work around until gcc is fixed. NetBSD PR#3471 fix from Ross Harvey <ross@teraflop.com>
1997-04-06Fix improper cast (compiler warning).Todd C. Miller
1997-03-27Make kern.osrevision (sysctl) and /kern/osrev report value ofTodd C. Miller
OpenBSD define, not BSD which is a bit more useful.
1997-02-24OpenBSD tagNiklas Hallqvist
1997-02-20IPSEC package by John Ioannidis and Angelos D. Keromytis. Written inTheo de Raadt
Greece. From ftp.funet.fi:/pub/unix/security/net/ip/BSDipsec.tar.gz
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-15fixed warning:kstailey
kernfs_vnops.c:305: warning: long unsigned int format, u_int arg (arg 3)
1997-01-07Fix for final ptdi panic on i386Thorsten Lockert
1997-01-04spec_advlock() via lf_advlock()kstailey
1997-01-02pulled out the duplicated, conditional code from both kern/vfs_syscalls.cMichael Shalayeff
and compat/common/vfs_syscalls_43.c and placed a single copy of that code into miscfs/union/union_subr.c (seemed like a good place to put it, since it's union-fs related). as a side effect you can build unionfs in lkm. (netbsd pr#2950, Paul Goyette <paul@pgoyette.bdt.com>)
1996-12-22make spec_advlock() perform indirect call to lf_advlock()kstailey
1996-12-08fixed comment in union_advlockkstailey
1996-12-07mem leak, short malloc; netbsd pr#3000, minoura@kw.netlaputa.or.jpTheo de Raadt
1996-12-05fix locking on devices to work on diskless workstationskstailey
1996-11-23remrq -> remrunqueuekstailey
1996-11-23added const to second parameter of cfprint_t routineskstailey
1996-11-04We should return 0 on non-blocking read from FIFO with no writersThorsten Lockert
1996-11-04permit locking on devicesTheo de Raadt