diff options
author | jake <jake@FreeBSD.org> | 2000-12-12 01:14:32 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2000-12-12 01:14:32 +0000 |
commit | e04de3cdaa20b55e34a44aa9540e200747947d37 (patch) | |
tree | 7118da5af73ae9b208c2b8845c541a5f8114eb78 /sys/conf/files | |
parent | 5791a3790632140a5f2e20a7962b123589408145 (diff) | |
download | FreeBSD-src-e04de3cdaa20b55e34a44aa9540e200747947d37.zip FreeBSD-src-e04de3cdaa20b55e34a44aa9540e200747947d37.tar.gz |
- Add code to detect if a system call returns with locks other than Giant
held and panic if so (conditional on witness).
- Change witness_list to return the number of locks held so this is easier.
- Add kern/syscalls.c to the kernel build if witness is defined so that the
panic message can contain the name of the offending system call.
- Add assertions that Giant and sched_lock are not held when returning from
a system call, which were missing for alpha and ia64.
Diffstat (limited to 'sys/conf/files')
-rw-r--r-- | sys/conf/files | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files index ea0602b..9aba2cc 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -664,6 +664,7 @@ kern/sys_generic.c standard kern/sys_pipe.c standard kern/sys_process.c standard kern/sys_socket.c standard +kern/syscalls.c optional witness kern/sysv_ipc.c standard kern/sysv_msg.c optional sysvmsg kern/sysv_sem.c optional sysvsem |