e2bebf7172
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.
18 lines
620 B
Plaintext
18 lines
620 B
Plaintext
# $NetBSD: syscalls.conf,v 1.17 2011/06/26 16:42:42 christos Exp $
|
|
|
|
sysnames="syscalls.c"
|
|
sysnumhdr="../sys/syscall.h"
|
|
syssw="init_sysent.c"
|
|
sysarghdr="../sys/syscallargs.h"
|
|
sysarghdrextra='#include <sys/mount.h>\n#include <sys/sched.h>\n#include <sys/socket.h>\n\n'
|
|
sysalign=1
|
|
rumpcalls="../rump/librump/rumpkern/rump_syscalls.c"
|
|
rumpcallshdr="../rump/include/rump/rump_syscalls.h"
|
|
compatopts="compat_43 compat_09 compat_10 compat_11 compat_12 compat_13 compat_14 compat_15 compat_16 compat_20 compat_30 compat_40 compat_50"
|
|
libcompatopts=""
|
|
|
|
switchname="sysent"
|
|
namesname="syscallnames"
|
|
constprefix="SYS_"
|
|
nsysent=512
|