freebsd-dev/sys
John Baldwin 22ea1bc57a Unify the checking for lock misbehavior in the various syscall()
implementations and adjust some of the checks while I'm here:
- Add a new check to make sure we don't return from a syscall in a critical
  section.
- Add a new explicit check before userret() to make sure we don't return
  with any locks held.  The advantage here is that we can include the
  syscall number and name in syscall() whereas that info is not available
  in userret().
- Drop the mtx_assert()'s of sched_lock and Giant.  They are replaced by
  the more general checks just added.

MFC after:	2 weeks
2006-07-27 22:32:30 +00:00
..
amd64 Unify the checking for lock misbehavior in the various syscall() 2006-07-27 22:32:30 +00:00
arm Unify the checking for lock misbehavior in the various syscall() 2006-07-27 22:32:30 +00:00
boot Add snd_emu10kx_load 2006-07-26 12:59:42 +00:00
bsm
cam
coda
compat Fix a file descriptor race I reintroduced when I split accept1() up into 2006-07-27 19:54:41 +00:00
conf Unify the checking for lock misbehavior in the various syscall() 2006-07-27 22:32:30 +00:00
contrib Import from OpenBSD 1.168, dhartmei: 2006-07-21 09:48:13 +00:00
crypto Remove redundant check committed by accident. 2006-07-25 20:00:55 +00:00
ddb Disable the pager for 'panic' and 'call' to be paranoid. 2006-07-19 18:26:53 +00:00
dev Add extra code into kbdmux(4)s read_char() method to 2006-07-27 20:33:48 +00:00
fs In udf_find_partmaps(), when we find a type 1 partition map, we have to 2006-07-25 14:15:50 +00:00
gdb
geom Fix what looks like a typo: MODULE_DEPEND() takes module names, 2006-07-27 11:52:12 +00:00
gnu
i4b
i386 Unify the checking for lock misbehavior in the various syscall() 2006-07-27 22:32:30 +00:00
ia64 Unify the checking for lock misbehavior in the various syscall() 2006-07-27 22:32:30 +00:00
isa
isofs/cd9660
kern Adjust td_locks for non-spin mutexes, rwlocks, and sx locks so that it is 2006-07-27 21:45:55 +00:00
libkern
modules Remove Alpha remnants. 2006-07-27 19:12:49 +00:00
net Remove the dependency of bridgestp.h on if_bridgevar.h by moving a couple of 2006-07-27 21:01:48 +00:00
net80211 add support for 802.11 packet injection via bpf 2006-07-26 03:15:16 +00:00
netatalk Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netgraph Remove the dependency of bridgestp.h on if_bridgevar.h by moving a couple of 2006-07-27 21:01:48 +00:00
netinet Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netinet6 Align IPv6 socket locking with IPv4 locking: lock socket buffer explicitly 2006-07-23 12:24:22 +00:00
netipsec Fix build breakage from previous commit which confused key_abort and key_close. 2006-07-22 09:18:02 +00:00
netipx Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netkey Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netnatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netncp soreceive_generic(), and sopoll_generic(). Add new functions sosend(), 2006-07-24 15:20:08 +00:00
netsmb soreceive_generic(), and sopoll_generic(). Add new functions sosend(), 2006-07-24 15:20:08 +00:00
nfs
nfs4client
nfsclient soreceive_generic(), and sopoll_generic(). Add new functions sosend(), 2006-07-24 15:20:08 +00:00
nfsserver soreceive_generic(), and sopoll_generic(). Add new functions sosend(), 2006-07-24 15:20:08 +00:00
opencrypto
pc98
pccard
pci
posix4
powerpc Unify the checking for lock misbehavior in the various syscall() 2006-07-27 22:32:30 +00:00
rpc
security
sparc64 Unify the checking for lock misbehavior in the various syscall() 2006-07-27 22:32:30 +00:00
sys Write a magic value into mtx_lock when destroying a mutex that will force 2006-07-27 19:58:18 +00:00
tools
ufs
vm Export the number of object bypasses and collapses through sysctl. 2006-07-22 22:31:57 +00:00
Makefile