summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
1999-02-17Always check that the start of our candidate region is within theFederico G. Schwindt
bounds of "substart" and "subend".
1999-02-16Move defining of PIPE_NODIRECT to pipe.h and conditionalize more code with it.Artur Grabowski
This allows this code to compile on sparc.
1999-02-15regenTodd C. Miller
1999-02-15sendto(2) takes a socklen_t as wellTodd C. Miller
1999-02-15regenTodd C. Miller
1999-02-15use socklen_tTodd C. Miller
1999-02-15reorder some flag handling in unmount for safer lockingArtur Grabowski
1999-02-15Fail correctly when trying to match a filesystem on the old typenumArtur Grabowski
and the typenum is out of range
1999-02-15We don't need to include xfs_extern.hArtur Grabowski
1999-02-14Use IOV_MAX, not the deprecated UIO_MAXIOVTodd C. Miller
1999-02-14Don't do range checking on namelen unless name is non-NULL, otherwiseTodd C. Miller
namelen is uninitialized.
1999-02-14readv/writev with iov_len == 0 is legal (was already ok in uipc_syscalls.c).Todd C. Miller
Make the check more readable by comparing against SSIZE_MAX instead of checking for wraparound. This is safe because SSIZE_MAX * 2 <= SIZE_T_MAX. Fixes recno problems in the db routines exposed by a perl test.
1999-02-11do not copyout uninitialized memory; arnej@math.ntnu.noTheo de Raadt
1999-02-11avoid insane lengths for various syscallsTheo de Raadt
1999-02-10branding support and freebsd elfTheo de Raadt
1999-02-07don't include vm_map.h twiceArtur Grabowski
1999-02-05Check that a socket we're closing is really a socket. dillon@freebsdAngelos D. Keromytis
1999-02-05support MSG_BCAST and MSG_MCASTTheo de Raadt
1999-02-04wrap noise in DIAGNOSTICTheo de Raadt
1999-01-26We need machine/cpu.h for the cpu_set_init_frame defNiklas Hallqvist
1999-01-21Fixes select(2)/accept(2) race condition which permits DoS; mycroft@netbsd.orgTodd C. Miller
1999-01-20put some more stuff behind #ifdef KMEMSTATSArtur Grabowski
1999-01-19Single Unix specification 2 says that rmdir(".") should suceed or give EBUSYArtur Grabowski
1999-01-11comment typoNiklas Hallqvist
1999-01-11just check rforkflags if ISRFORKNiklas Hallqvist
1999-01-11sigh memset is not available everywhere, I should know betterNiklas Hallqvist
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1999-01-11kthread abstraction from NetBSD, implemented with our rforkNiklas Hallqvist
1999-01-11Sanity panics into DIAGNOSTICNiklas Hallqvist
1999-01-11Adhere better to DIAGNOSTIC and DDB optionsNiklas Hallqvist
1999-01-10remove unnecessary declaration of dounmountArtur Grabowski
1999-01-10Generalize cpu_set_kpc to take any kind of arg; mostly from NetBSDNiklas Hallqvist
1999-01-10Make RFNOWAIT work in rfork(2)Niklas Hallqvist
1999-01-10NUL terminate the buffer in vsprintfNiklas Hallqvist
1999-01-07ready for INET6 and KEYTheo de Raadt
1999-01-07new APIs: m_pullup2, m_copym2, m_zero, MCL_ALIGN; NRL/cmetzTheo de Raadt
1999-01-021999Theo de Raadt
1998-12-28remove old leftovers from lite2 upgradeArtur Grabowski
1998-12-28simple_lock fixesArtur Grabowski
1998-12-28simple debugging for simple locksArtur Grabowski
1998-12-23Opps. the flag that says that we are sleeping is MNT_MWAIT, not MNT_WAITArtur Grabowski
1998-12-22deconfuse vprint, print holdcount, not refcount when we are talking about ↵Artur Grabowski
holdcnt
1998-12-21return EOPNOTSUPP when there is no support for this filesystem in the kernel.Artur Grabowski
This is what most mount_* expect.
1998-12-10Several fixes to dounmount.Artur Grabowski
- Check for MNT_UNMOUNT before doing the actual unmount. It shouldn't matter for normal unmounts that go through sys_unmount, because they won't be able to do a lookup on the mountpoint when it's being unmounted, but mfs calls dounmount directly (and there was still a race). - clear the MNT_UNMOUNT flag after reenabling the lock (almost impossible race). - clear the MNT_MWAIT flag after doing a wakeup on the mountpoint.
1998-12-10vfs_unmountall: retry to unmount all remaining filesystems when one unmount ↵Artur Grabowski
failed
1998-12-05Reinstate supposed dead codeConstantine Sapuntzakis
1998-12-05Updated vnode_if specificiationConstantine Sapuntzakis
1998-12-05Framework for generating automatic test code for locking disciplineConstantine Sapuntzakis
in DIAGNOSTIC mode. Added documentation to vfs_subr.c on locking needs of a couple calls. Improvements to the vinvalbuf patch. We need to start over after we let our pants down.
1998-12-05Dead code eliminationConstantine Sapuntzakis
1998-12-04consider limits, in fdavail(); michaels@inet.noTheo de Raadt