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
..
2006-07-27 22:32:30 +00:00
2006-07-27 22:32:30 +00:00
2006-07-26 12:59:42 +00:00
2006-07-03 14:45:43 +00:00
2006-07-14 13:58:32 +00:00
2006-05-16 14:37:58 +00:00
2006-07-27 19:54:41 +00:00
2006-07-27 22:32:30 +00:00
2006-07-21 09:48:13 +00:00
2006-07-25 20:00:55 +00:00
2006-07-19 18:26:53 +00:00
2006-07-27 20:33:48 +00:00
2006-07-25 14:15:50 +00:00
2006-05-26 13:54:27 +00:00
2006-07-27 11:52:12 +00:00
2006-07-15 19:36:28 +00:00
2006-07-09 21:16:06 +00:00
2006-07-27 22:32:30 +00:00
2006-07-27 22:32:30 +00:00
2006-07-08 16:50:10 +00:00
2006-05-26 00:32:21 +00:00
2006-07-27 21:45:55 +00:00
2006-05-11 22:25:28 +00:00
2006-07-27 19:12:49 +00:00
2006-07-27 21:01:48 +00:00
2006-07-26 03:15:16 +00:00
2006-07-21 17:11:15 +00:00
2006-07-21 17:11:15 +00:00
2006-07-27 21:01:48 +00:00
2006-07-21 17:11:15 +00:00
2006-07-23 12:24:22 +00:00
2006-07-22 09:18:02 +00:00
2006-07-21 17:11:15 +00:00
2006-07-21 17:11:15 +00:00
2006-07-21 17:11:15 +00:00
2006-07-24 15:20:08 +00:00
2006-07-24 15:20:08 +00:00
2006-07-12 09:16:35 +00:00
2006-07-24 15:20:08 +00:00
2006-07-24 15:20:08 +00:00
2006-06-06 15:04:52 +00:00
2006-07-12 21:22:44 +00:00
2006-01-15 06:49:28 +00:00
2006-06-28 16:04:54 +00:00
2006-07-13 06:41:26 +00:00
2006-07-27 22:32:30 +00:00
2006-01-20 15:20:41 +00:00
2006-07-17 09:07:02 +00:00
2006-07-27 22:32:30 +00:00
2006-07-27 19:58:18 +00:00
2006-06-16 21:06:03 +00:00
2006-07-18 07:03:43 +00:00
2006-07-22 22:31:57 +00:00
2006-07-04 14:14:16 +00:00