NetBSD/sys/compat
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
..
aoutm68k Regen: use COMPAT_50 quotactl, not the native one 2011-03-07 19:27:27 +00:00
common Use 'curlwp' here insteald of the 'l' - which isn't passsed as an arg 2011-06-05 09:37:10 +00:00
freebsd merge the bouyer-quota2 branch. This adds a new on-disk format 2011-03-06 17:08:10 +00:00
ibcs2 Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
linux Adapt to change to PCU. 2011-06-09 13:41:40 +00:00
linux32 Regenerate files to pick up correct RCS Ids. Suggested by Chris Badura. 2011-05-30 21:37:37 +00:00
m68k4k buildfix: #include <sys/exec_aout.h> 2009-08-17 06:00:05 +00:00
ndis Replace simple_lock(9) with mutex(9), clean up. 2011-05-14 12:44:15 +00:00
net Add a new AF/PF_ROUTE which is 64-bit clean which makes the routing socket 2011-02-01 01:39:19 +00:00
netbsd32 Delete some splurious commas and very unexpected trailing space 2011-06-05 08:42:59 +00:00
netinet6 Emulate a couple more ioctls. Thanks to Matthias Drochner for pointing them out. 2009-01-15 20:32:59 +00:00
osf1 Forward define of ps_strings. 2011-03-05 19:08:40 +00:00
ossaudio add a lot more debugging and error checking. Alas, skype seems to be happy 2009-08-22 23:31:16 +00:00
sa Remove pfind() and pgfind(), fix locking in various broken uses of these. 2010-07-01 02:38:26 +00:00
sunos many changes for COMPAT_LINUX: 2010-07-07 01:30:32 +00:00
sunos32 Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
svr4 * Arrange for interfaces that create new file descriptors to be able to 2011-06-26 16:42:39 +00:00
svr4_32 Abolish the SAVENAME and HASBUF flags. There is now always a buffer, 2010-11-30 10:43:01 +00:00
sys Give the body the same static inline treatment as the definition 2011-05-24 18:29:23 +00:00
ultrix many changes for COMPAT_LINUX: 2010-07-07 01:30:32 +00:00
vax1k Include <sys/exec_aout.h> explicitly instead of relying on <sys/exec.h> to 2009-08-15 23:39:35 +00:00
Makefile