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
..
compat_exec.c
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
kern_exit_43.c
kern_info_09.c
kern_info_43.c
kern_ipc_10.c
kern_resource_43.c
kern_sig_13.c
kern_sig_43.c use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
kern_xxx_12.c
Makefile
Makefile.inc
sysv_ipc_14.c
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
sysv_shm_14.c
tty_43.c
uipc_syscalls_43.c
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