1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00
freebsd/sys
Ariff Abdullah 3fdb3676ba Apply more thorough fixes while dealing with device opening and closing:
- Determine open direction using 'flags', not 'mode'. This bug exist since
  past 4 years.
- Don't allow opening the same device twice, be it in a same or different
  direction.
- O_RDWR is allowed, provided that it is done by a single open (for example
  by mixer(8)) and the underlying hardware support true full-duplex operation.
- Do various paranoid checking in case other process/thread trying to hijack
  the same device twice (or more).

MFC after:	5 days
2006-03-21 06:35:48 +00:00
..
alpha regen 2006-03-20 19:48:02 +00:00
amd64 Drop some unneeded casts since we program the kernel in C rather than C++. 2006-03-20 19:39:08 +00:00
arm MFp4: 2006-03-18 01:45:29 +00:00
boot Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
bsm
cam Add reference to PR to TOSHIBA TransMemory quirk entry. 2006-03-18 21:13:14 +00:00
coda
compat Fix tinderbox on alpha. 2006-03-20 19:46:56 +00:00
conf Merge Perforce changes 93512, 93514, 93515 from TrustedBSD audit3 2006-03-19 16:03:43 +00:00
contrib
crypto
ddb
dev Apply more thorough fixes while dealing with device opening and closing: 2006-03-21 06:35:48 +00:00
doc
fs Call vn_start_write() before locking vnode. 2006-03-19 20:45:06 +00:00
gdb
geom Update copyright for 2006. 2006-03-19 12:55:51 +00:00
gnu
i4b
i386 Drop some unneeded casts since we program the kernel in C rather than C++. 2006-03-20 19:39:08 +00:00
ia64
isa
isofs/cd9660
kern Remove unused leaked debug function prototype. 2006-03-21 01:04:24 +00:00
libkern
modules Extend coverage of the MK_IPX build option to the following: 2006-03-20 14:24:58 +00:00
net Add kqueue(2) support on if_tap(4) interfaces. While I'm here, replace 2006-03-16 18:22:01 +00:00
net80211 when doing s/w crypto make sure work is done w/ a writable mbuf chain; 2006-03-15 21:27:08 +00:00
netatalk Modify netatalk to ensure, and assert, that pcb's remain attached to 2006-03-17 20:40:17 +00:00
netatm
netgraph
netinet Add descriptions for the sysctls: 2006-03-20 21:44:12 +00:00
netinet6 Make net.inet.ip.portrange.reservedhigh and 2006-03-19 11:48:48 +00:00
netipsec promote fast ipsec's m_clone routine for public use; it is renamed 2006-03-15 21:11:11 +00:00
netipx
netkey
netnatm Change so_pcb invariants in netnatm, such that netnatm sockets always have 2006-03-17 18:25:57 +00:00
netncp
netsmb
nfs
nfs4client
nfsclient Actually I wanted 'nolockd' here instead of 'lockd'. 2006-03-19 13:27:37 +00:00
nfsserver
opencrypto
pc98
pccard
pci
posix4
powerpc
rpc
security Don't call vn_finished_write() if vn_start_write() failed. 2006-03-19 20:43:07 +00:00
sparc64
sys Remove nested includes of <sys/_lock.h> and <sys/_mutex.h> which spill into 2006-03-16 11:19:36 +00:00
tools
ufs Allow compilation when not using softupdates. 2006-03-19 22:16:44 +00:00
vm
Makefile Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00