NetBSD/sys/compat/svr4
christos e2bebf7172 * Arrange for interfaces that create new file descriptors to be able to
set close-on-exec on creation (http://udrepper.livejournal.com/20407.html).

    - Add F_DUPFD_CLOEXEC to fcntl(2).
    - Add MSG_CMSG_CLOEXEC to recvmsg(2) for unix file descriptor passing.
    - Add dup3(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
    - Add pipe2(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
    - Add flags SOCK_CLOEXEC, SOCK_NONBLOCK to the socket type parameter
      for socket(2) and socketpair(2).
    - Add new paccept(2) syscall that takes an additional sigset_t to alter
      the sigmask temporarily and a flags argument to set SOCK_CLOEXEC,
      SOCK_NONBLOCK.
    - Add new mode character 'e' to fopen(3) and popen(3) to open pipes
      and file descriptors for close on exec.
    - Add new kqueue1(2) syscall with a new flags argument to open the
      kqueue file descriptor with O_CLOEXEC, O_NONBLOCK.

* Fix the system calls that take socklen_t arguments to actually do so.

* Don't include userland header files (signal.h) from system header files
  (rump_syscallargs.h).

* Bump libc version for the new syscalls.
2011-06-26 16:42:39 +00:00
..
files.svr4 add missing glue file, otherwise the emulation will not work if 2010-02-14 11:54:03 +00:00
Makefile
svr4_acl.h
svr4_dirent.h
svr4_errno.c
svr4_errno.h
svr4_exec_elf32.c
svr4_exec_elf64.c
svr4_exec.c many changes for COMPAT_LINUX: 2010-07-07 01:30:32 +00:00
svr4_exec.h Change u_long to vaddr_t/vsize_t in exec code where appropriate (mostly 2009-12-10 14:13:48 +00:00
svr4_fcntl.c
svr4_fcntl.h
svr4_filio.c More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
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 Use lwp_getpcb() in compat code, clean from struct user. 2009-11-23 00:46:06 +00:00
svr4_lwp.h
svr4_misc.c Abolish the SAVENAME and HASBUF flags. There is now always a buffer, 2010-11-30 10:43:01 +00:00
svr4_mman.h
svr4_mod.c
svr4_net.c If a multithreaded app closes an fd while another thread is blocked in 2009-12-20 09:36:05 +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 Explicitly initialize ucontext before calling getmcontext. 2011-02-03 21:45:31 +00:00
svr4_signal.h
svr4_signo.c
svr4_socket.c
svr4_socket.h
svr4_sockio.c
svr4_sockio.h
svr4_sockmod.h
svr4_stat.c
svr4_stat.h
svr4_statvfs.h
svr4_stream.c * Arrange for interfaces that create new file descriptors to be able to 2011-06-26 16:42:39 +00:00
svr4_stropts.h
svr4_syscall.h Regen (new makesyscalls.sh) 2009-12-14 00:53:32 +00:00
svr4_syscallargs.h Regen (new makesyscalls.sh) 2009-12-14 00:53:32 +00:00
svr4_syscalls.c Regen (new makesyscalls.sh) 2009-12-14 00:53:32 +00:00
svr4_sysconfig.h
svr4_sysent.c Regen (new makesyscalls.sh) 2009-12-14 00:53:32 +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
svr4_ucontext.h
svr4_ulimit.h
svr4_ustat.h
svr4_util.h
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