NetBSD/sys/compat/common
thorpej 80cc38a1af Fix a partial construction problem that can cause race conditions
between creation of a file descriptor and close(2) when using kernel
assisted threads.  What we do is stick descriptors in the table, but
mark them as "larval".  This causes essentially everything to treat
it as a non-existent descriptor, except for fdalloc(), which sees a
filled slot so that it won't (incorrectly) allocate it again.  When
a descriptor is fully constructed, the code that has constructed it
marks it as "mature" (which actually clears the "larval" flag), and
things continue to work as normal.

While here, gather all the code that gets a descriptor from the table
into a fd_getfile() function, and call it, rather than having the
same (sometimes incorrect) code copied all over the place.
2001-06-14 20:32:41 +00:00
..
Makefile Add compatibility calls for the 1.4 System V IPC *ctl() calls, and 1999-08-25 04:47:12 +00:00
Makefile.inc Have recursive make invocations depend on the .MAKE pseudo-target so 2000-12-05 17:01:19 +00:00
compat_exec.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00
compat_util.c emul_find(): actually, the emulation root vnode dance has to be done for 2001-02-02 21:17:45 +00:00
compat_util.h Introduce CHECK_ALT_SYMLINK() - this checks for alternative location without 2001-01-22 19:50:56 +00:00
gen_errno_tables.awk a quick hack to make generating errno conversion tables from our and other 1999-04-23 05:31:33 +00:00
kern_exit_43.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00
kern_info_09.c Sprinkle in some const. 2000-07-14 07:12:47 +00:00
kern_info_43.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00
kern_ipc_10.c fix LP64 warnings. 2000-07-27 14:00:56 +00:00
kern_resource_43.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00
kern_sig_13.c Kill register declarations. 2000-03-30 11:24:16 +00:00
kern_sig_43.c use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
kern_xxx_12.c
sysv_ipc_14.c Add compatibility calls for the 1.4 System V IPC *ctl() calls, and 1999-08-25 04:47:12 +00:00
sysv_msg_14.c don't define SYSVMSG if it's already defined 2000-12-21 19:30:26 +00:00
sysv_sem_14.c make LKM safe 2000-12-17 15:55:47 +00:00
sysv_shm_14.c make LKM safe 2000-12-17 15:55:47 +00:00
tty_43.c Don't dereference NULL t_linesw. 2000-11-08 22:51:01 +00:00
uipc_syscalls_43.c Kill register declarations. 2000-03-30 11:24:16 +00:00
vfs_syscalls_12.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
vfs_syscalls_43.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
vm_12.c
vm_43.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00