NetBSD/sys/compat/sunos
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 Added a missing Makefile and run it 1996-05-05 16:07:42 +00:00
files.sunos don't build these files if we're doing compat_netbsd32 as well. 2001-02-02 07:12:27 +00:00
sunos.h make this useful when compiled on sparc64: two members in sunos_nfs_args 2001-02-02 07:11:09 +00:00
sunos_dirent.h Assign copyright to TNF. 1998-09-05 14:50:25 +00:00
sunos_exec.c use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
sunos_exec.h Make these compile with the latest execsw[] changes. Someone with 2000-11-24 10:21:30 +00:00
sunos_exec_aout.c put aout specific sunos code from sunos_exec.c to separate file 2000-12-01 19:23:10 +00:00
sunos_ioctl.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
sunos_misc.c Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
sunos_syscall.h use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
sunos_syscallargs.h use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
sunos_syscalls.c use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
sunos_sysent.c use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
syscalls.conf remove compat_xxx dependencies where they don't belong 1998-12-18 18:49:59 +00:00
syscalls.master use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00