NetBSD/sys/compat/svr4
ad c6367674d6 Add fileops::fo_drain(), to be called from fd_close() when there is more
than one active reference to a file descriptor. It should dislodge threads
sleeping while holding a reference to the descriptor. Implemented only for
sockets but should be extended to pipes, fifos, etc.

Fixes the case of a multithreaded process doing something like the
following, which would have hung until the process got a signal.

thr0	accept(fd, ...)
thr1	close(fd)
2009-04-04 10:12:51 +00:00
..
Makefile
files.svr4
svr4_acl.h
svr4_dirent.h
svr4_errno.c
svr4_errno.h
svr4_exec.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
svr4_exec.h Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
svr4_exec_elf32.c
svr4_exec_elf64.c
svr4_fcntl.c
svr4_fcntl.h
svr4_filio.c
svr4_filio.h
svr4_fuser.h
svr4_hrt.h
svr4_ioctl.c ANSIfy another 1261 function definitions. 2009-03-14 21:04:01 +00:00
svr4_ioctl.h
svr4_ipc.c
svr4_ipc.h
svr4_lwp.c
svr4_lwp.h
svr4_misc.c merge christos-time_t 2009-01-11 02:45:45 +00:00
svr4_mman.h
svr4_mod.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
svr4_net.c Add fileops::fo_drain(), to be called from fd_close() when there is more 2009-04-04 10:12:51 +00:00
svr4_resource.c - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total 2009-03-29 01:02:48 +00:00
svr4_resource.h
svr4_schedctl.c
svr4_schedctl.h
svr4_siginfo.h
svr4_signal.c
svr4_signal.h
svr4_signo.c
svr4_socket.c make this compile 2009-01-11 10:47:37 +00:00
svr4_socket.h
svr4_sockio.c
svr4_sockio.h
svr4_sockmod.h
svr4_stat.c merge christos-time_t 2009-01-11 02:45:45 +00:00
svr4_stat.h
svr4_statvfs.h
svr4_stream.c
svr4_stropts.h
svr4_syscall.h Regen to prove I didn't screw up the conversion: purely RCSID changes. 2009-01-13 22:33:11 +00:00
svr4_syscallargs.h Regen to prove I didn't screw up the conversion: purely RCSID changes. 2009-01-13 22:33:11 +00:00
svr4_syscalls.c Regen to prove I didn't screw up the conversion: purely RCSID changes. 2009-01-13 22:33:11 +00:00
svr4_sysconfig.h
svr4_sysent.c Regen to prove I didn't screw up the conversion: purely RCSID changes. 2009-01-13 22:33:11 +00:00
svr4_systeminfo.h
svr4_termios.c
svr4_termios.h
svr4_time.h merge christos-time_t 2009-01-11 02:45:45 +00:00
svr4_timod.h
svr4_ttold.c
svr4_ttold.h
svr4_types.h
svr4_ucontext.h
svr4_ulimit.h
svr4_ustat.h
svr4_util.h Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
svr4_utsname.h
svr4_wait.h
syscalls.conf
syscalls.master Convert the syscalls.master to a format from which it is easier 2009-01-13 22:27:43 +00:00