NetBSD/sys/kern
sommerfeld c0011ad705 Fix several problems with lockf/fcntl byte range locks:
- document a data structure invariant in lockf.h
 - add KASSERT() to check the invariant.
 - be more consistent about dequeuing ourselves from the blocked list
after a tsleep().
 - Fix two places where the invariant is violated.
 - correct a few comments here and there
 - If we're still following a lock dependancy chain after maxlockdepth
processes and haven't gotten back to the start, assume that we're in a
cycle anyway and return EDEADLK.

Fix is a superset of an existing fix in FreeBSD, but independantly
derived.

Fixes kern/3860.
2000-06-12 14:33:04 +00:00
..
Make.tags.inc
Makefile
exec_aout.c add a new function vn_marktext() for exec code to let others know 2000-04-11 04:37:47 +00:00
exec_conf.c PE/COFF (Win32) compatible binary support (experimental). 2000-06-09 22:38:56 +00:00
exec_ecoff.c add a new function vn_marktext() for exec code to let others know 2000-04-11 04:37:47 +00:00
exec_elf32.c defopt SYSCALL_DEBUG. 2000-06-06 18:26:32 +00:00
exec_elf64.c
exec_elf_common.c
exec_script.c (exec_script_makecmds): remove declaration of vnops, now in 2000-02-01 01:23:29 +00:00
exec_subr.c
genassym.awk
genassym.sh
init_main.c defopt SYSCALL_DEBUG. 2000-06-06 18:26:32 +00:00
init_sysent.c Regen. 2000-04-21 16:16:15 +00:00
kern_acct.c Don't reset file size limit to infinity on exit. Instead, temporarily 2000-05-08 19:06:36 +00:00
kern_allocsys.c Call the routine to calculate callwheelsize from allocsys() instead of 2000-03-24 11:57:14 +00:00
kern_clock.c Move schedticks and cp_time into schedstate_percpu. Also, allow 2000-06-03 20:42:42 +00:00
kern_descrip.c Eliminate incorrect use of "curproc" in a comment. 2000-05-26 23:10:36 +00:00
kern_exec.c Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
kern_exit.c Remove a gratuitous use of curproc 2000-05-27 00:11:12 +00:00
kern_fork.c Track which process a CPU is running/has last run on by adding a 2000-05-31 05:02:31 +00:00
kern_kthread.c Rather than starting init and creating kthreads by forking and then 2000-05-28 05:48:59 +00:00
kern_ktrace.c Track which process a CPU is running/has last run on by adding a 2000-05-31 05:02:31 +00:00
kern_lkm.c Don't need to declare nblkdev, nchrdev - these are in <sys/systm.h>. 2000-03-28 06:26:22 +00:00
kern_lock.c Fix assorted bugs around shutdown/reboot/panic time. 2000-06-10 18:44:43 +00:00
kern_malloc.c Improve #error message slightly. 2000-05-26 23:18:26 +00:00
kern_ntptime.c fix type of sysctl_ntptime 'where' arg in defined(NTP) case 2000-06-02 18:22:44 +00:00
kern_physio.c __predict_false() uvm_useracc() failure. 2000-05-08 20:03:20 +00:00
kern_proc.c Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
kern_prot.c Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
kern_resource.c Track which process a CPU is running/has last run on by adding a 2000-05-31 05:02:31 +00:00
kern_sig.c Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
kern_subr.c Make this file compile with DIAGNOSTIC. 2000-05-31 06:18:03 +00:00
kern_synch.c Fix assorted bugs around shutdown/reboot/panic time. 2000-06-10 18:44:43 +00:00
kern_sysctl.c Move schedticks and cp_time into schedstate_percpu. Also, allow 2000-06-03 20:42:42 +00:00
kern_time.c Track which process a CPU is running/has last run on by adding a 2000-05-31 05:02:31 +00:00
kern_xxx.c defopt SYSCALL_DEBUG. 2000-06-06 18:26:32 +00:00
kgdb_stub.c
makesyscalls.sh
subr_autoconf.c Implement the more flexiable `evcnt' interface as discussed (briefly) on 2000-06-04 19:14:14 +00:00
subr_disk.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
subr_extent.c Make this build as a regression test with the latest simple lock 2000-06-06 17:32:50 +00:00
subr_log.c brain-oh in last. test logsoftc.sc_pgid, not p. 2000-05-28 18:31:13 +00:00
subr_pool.c Fix assorted bugs around shutdown/reboot/panic time. 2000-06-10 18:44:43 +00:00
subr_prf.c Fix assorted bugs around shutdown/reboot/panic time. 2000-06-10 18:44:43 +00:00
subr_prof.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
subr_rmap.c
subr_xxx.c
sys_generic.c Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
sys_process.c
sys_socket.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
syscalls.c Regen. 2000-04-21 16:16:15 +00:00
syscalls.conf
syscalls.master Add native issetugid() call. 2000-04-21 16:15:39 +00:00
sysv_ipc.c
sysv_msg.c White space nit in previous. 2000-06-02 16:05:49 +00:00
sysv_sem.c Add new sysctl node "KERN_SYSVIPC_INFO" with "KERN_SYSVIPC_MSG_INFO", 2000-06-02 15:53:03 +00:00
sysv_shm.c Add new sysctl node "KERN_SYSVIPC_INFO" with "KERN_SYSVIPC_MSG_INFO", 2000-06-02 15:53:03 +00:00
tty.c Introduce a new process state distinct from SRUN called SONPROC 2000-05-26 00:36:42 +00:00
tty_conf.c
tty_pty.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
tty_subr.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
tty_tb.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
tty_tty.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
uipc_domain.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
uipc_mbuf.c introduce m->m_pkthdr.aux to hold random data which needs to be passed 2000-03-01 12:49:27 +00:00
uipc_mbuf2.c introduce m->m_pkthdr.aux to hold random data which needs to be passed 2000-03-01 12:49:27 +00:00
uipc_proto.c
uipc_socket.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
uipc_socket2.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
uipc_syscalls.c Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
uipc_usrreq.c Oops, missed a couple of places where CMSG_*() should be used. No 2000-06-05 16:29:45 +00:00
vfs_bio.c Fix from Ethan Solomita <ethan@geocast.com> to avoid a livelock problem 2000-04-12 11:33:43 +00:00
vfs_cache.c change "nextvnodeid" from a global in namei.h to a static in 2000-04-16 21:41:49 +00:00
vfs_cluster.c
vfs_getcwd.c Get rid of register declarations. 2000-03-30 09:27:11 +00:00
vfs_init.c
vfs_lockf.c Fix several problems with lockf/fcntl byte range locks: 2000-06-12 14:33:04 +00:00
vfs_lookup.c Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
vfs_subr.c Fix assorted bugs around shutdown/reboot/panic time. 2000-06-10 18:44:43 +00:00
vfs_syscalls.c implement lchflags(2), which does the chflags(2) dance without following 2000-04-17 14:31:21 +00:00
vfs_vnops.c add a new function vn_marktext() for exec code to let others know 2000-04-11 04:37:47 +00:00
vnode_if.c Change the sementics of the last parameter from a boolean ("waitfor") to 2000-05-13 23:43:06 +00:00
vnode_if.sh
vnode_if.src Change the sementics of the last parameter from a boolean ("waitfor") to 2000-05-13 23:43:06 +00:00