NetBSD/sys/compat/hpux
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
files.hpux split aout-specific code to sepatate file hpux_exec_aout.c 2000-12-01 19:15:12 +00:00
hpux.h
hpux_compat.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
hpux_errno.c
hpux_exec.c Changed EMUL_BSD_ASYNCIO_PIPE to EMUL_NO_BSD_ASYNCIO_PIPE, so that 2001-05-07 09:55:12 +00:00
hpux_exec.h Add declarations of hpux_setregs() and struct emul emul_hpux. 2000-11-27 15:26:17 +00:00
hpux_exec_aout.c split aout-specific code to sepatate file hpux_exec_aout.c 2000-12-01 19:15:12 +00:00
hpux_file.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
hpux_ipc.c use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
hpux_ipc.h
hpux_net.c use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
hpux_sig.c adapt to recent changes of signal structures 2000-12-27 21:58:52 +00:00
hpux_sig.h
hpux_syscall.h Regen; don't define our own (incorrect!) dup(2); just use the NetBSD version. 2001-06-06 16:18:10 +00:00
hpux_syscallargs.h Regen; don't define our own (incorrect!) dup(2); just use the NetBSD version. 2001-06-06 16:18:10 +00:00
hpux_syscalls.c Regen; don't define our own (incorrect!) dup(2); just use the NetBSD version. 2001-06-06 16:18:10 +00:00
hpux_sysent.c Regen; don't define our own (incorrect!) dup(2); just use the NetBSD version. 2001-06-06 16:18:10 +00:00
hpux_termio.h
hpux_tty.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
hpux_types.h
hpux_util.h add e_path (emulation path) to struct emul, which replaces emulation-specific 2000-12-01 12:28:30 +00:00
syscalls.conf
syscalls.master Don't define our own (incorrect!) dup(2); just use the NetBSD version. 2001-06-06 16:17:40 +00:00