NetBSD/sys/compat/svr4
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.svr4 Add support for 64-bit SVR4 (Solaris 8) binaries. 2001-02-21 23:53:00 +00:00
svr4_acl.h
svr4_dirent.h
svr4_errno.c make some more constant arrays 'const' 2001-02-21 21:39:52 +00:00
svr4_errno.h make some more constant arrays 'const' 2001-02-21 21:39:52 +00:00
svr4_exec.c Changed EMUL_BSD_ASYNCIO_PIPE to EMUL_NO_BSD_ASYNCIO_PIPE, so that 2001-05-07 09:55:12 +00:00
svr4_exec.h Add support for 64-bit SVR4 (Solaris 8) binaries. 2001-02-21 23:53:00 +00:00
svr4_exec_elf32.c put elf32 specific code from svr4_exec.c to separate file svr4_exec_elf32.c 2000-12-01 19:26:26 +00:00
svr4_exec_elf64.c Add support for 64-bit SVR4 (Solaris 8) binaries. 2001-02-21 23:53:00 +00:00
svr4_fcntl.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
svr4_fcntl.h
svr4_filio.c
svr4_filio.h
svr4_fuser.h
svr4_hrt.h
svr4_ioctl.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
svr4_ioctl.h
svr4_ipc.c use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
svr4_ipc.h
svr4_lwp.c Back out the suspendsched()/resumesched() thing, per request of Jason Thorpe & 2000-09-05 16:20:27 +00:00
svr4_lwp.h
svr4_misc.c Fix overflow errors in brk(2). 2001-05-06 04:32:08 +00:00
svr4_mman.h
svr4_net.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
svr4_resource.c
svr4_resource.h
svr4_siginfo.h
svr4_signal.c make some more constant arrays 'const' 2001-02-21 21:39:52 +00:00
svr4_signal.h make some more constant arrays 'const' 2001-02-21 21:39:52 +00:00
svr4_socket.c
svr4_socket.h
svr4_sockio.c
svr4_sockio.h
svr4_sockmod.h
svr4_stat.c Add support for 64-bit SVR4 (Solaris 8) binaries. 2001-02-21 23:53:00 +00:00
svr4_stat.h Add support for 64-bit SVR4 (Solaris 8) binaries. 2001-02-21 23:53:00 +00:00
svr4_statvfs.h
svr4_stream.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
svr4_stropts.h
svr4_syscall.h use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
svr4_syscallargs.h use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
svr4_syscalls.c use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
svr4_sysconfig.h
svr4_sysent.c use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
svr4_systeminfo.h
svr4_termios.c
svr4_termios.h
svr4_time.h
svr4_timod.h
svr4_ttold.c
svr4_ttold.h
svr4_types.h Add support for 64-bit SVR4 (Solaris 8) binaries. 2001-02-21 23:53:00 +00:00
svr4_ucontext.h
svr4_ulimit.h
svr4_ustat.h
svr4_util.h add e_path (emulation path) to struct emul, which replaces emulation-specific 2000-12-01 12:28:30 +00:00
svr4_utsname.h
svr4_wait.h
syscalls.conf Round up the sysent table size. 2000-12-09 06:15:42 +00:00
syscalls.master use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00