NetBSD/include
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
..
arpa merge libbind 2009-04-12 17:07:33 +00:00
heimdal vasnprintf and asnprintf were never compiled in our libroken.a and never 2010-01-25 00:26:04 +00:00
protocols merge christos-time_t 2009-01-11 02:57:17 +00:00
rpc merge christos-time_t 2009-01-11 02:57:17 +00:00
rpcsvc
ssp Redo the SSP wrappers to be transparent on the resulting object files. 2011-02-21 00:40:07 +00:00
Makefile Add a new libquota library, which contains some blocks to build and/or 2011-03-24 17:05:39 +00:00
a.out.h Repair more fallout from the exec_aout.h change. 2009-08-16 17:12:47 +00:00
aio.h fix reversed test from Tobias Nygren. 2009-01-13 15:11:09 +00:00
ar.h
assert.h include <sys/null.h> because _DIAGASSERT(foo == NULL) is too common and some 2008-11-02 14:27:44 +00:00
atomic.h
bitstring.h lint friendly 2010-05-06 18:54:22 +00:00
bm.h
cdbr.h Add the constant database reader (cdbr(3)) and writer ((cdbw(3)). 2010-04-25 00:54:44 +00:00
cdbw.h Add the constant database reader (cdbr(3)) and writer ((cdbw(3)). 2010-04-25 00:54:44 +00:00
complex.h Commit SoC long double support from Stathis Kamperis 2010-09-15 16:11:28 +00:00
cpio.h
ctype.h more split ctype.h -> sys/ctype_inline.h, sys/ctype_bits.h 2010-06-01 13:52:07 +00:00
db.h Convert db from UCB types to POSIX types. Prefer uint8_t for u_char as 2008-08-26 21:18:38 +00:00
dirent.h fix rewinddir on nfs. fix PR/42879 (and probably PR/40229.) 2010-09-26 02:26:59 +00:00
disktab.h
dlfcn.h PR/45015: ld.elf_so: support ELF symbol versioning 2011-06-25 05:45:10 +00:00
err.h Consistently use __printflike and __scanflike. 2010-02-25 18:37:12 +00:00
errno.h
fenv.h Add fenv support for sparc. Mostly copied from sparc64 and share with it. 2011-05-20 21:42:48 +00:00
fmtmsg.h
fnmatch.h new error. 2011-01-31 04:49:46 +00:00
fstab.h
fts.h Version fts one more time! This is the most versioned API ever... Bump 2009-08-16 19:33:38 +00:00
ftw.h
getopt.h
glob.h add globstar. 2010-09-06 14:38:56 +00:00
grp.h
hesiod.h
iconv.h
ieeefp.h finish the ieeefp.h vs fp_prec_t hack from the previous change and 2011-03-27 05:13:15 +00:00
ifaddrs.h
inttypes.h Don't define wchar_t for c++; it is native in the language. From Alexander 2009-11-15 22:21:03 +00:00
iso646.h
kvm.h
langinfo.h
libgen.h
limits.h 1. MB_LEN_MAX switch MD to MI. 2010-06-07 13:52:28 +00:00
link.h
link_aout.h
link_elf.h Implement dl_iterate_phdr. 2010-10-16 10:27:06 +00:00
locale.h 1. MB_LEN_MAX switch MD to MI. 2010-06-07 13:52:28 +00:00
login_cap.h merge christos-time_t 2009-01-11 02:57:17 +00:00
lwp.h merge christos-time_t 2009-01-11 02:57:17 +00:00
malloc.h
math.h remquo{,f} from FreeBSD via Stathis Kamperis 2011-02-06 00:44:08 +00:00
md2.h
memory.h
mntopts.h Add mount -o extattr option to enable extended attributs (corrently only 2011-06-17 14:23:50 +00:00
monetary.h add missing attributes to the remaining calls, even the ones that gcc has 2008-09-21 16:59:46 +00:00
mpool.h Convert db from UCB types to POSIX types. Prefer uint8_t for u_char as 2008-08-26 21:18:38 +00:00
mqueue.h merge christos-time_t 2009-01-11 02:57:17 +00:00
ndbm.h Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
netconfig.h
netdb.h PR/43258: Hauke Fath: remove duplicate setservent declaration 2010-05-05 17:12:29 +00:00
netgroup.h Remove 3rd and 4th clauses in christos' license. OK christos. 2009-10-21 01:07:44 +00:00
nl_types.h
nlist.h Introduce a new accessor macro N_NAME() to access the n_name field 2009-08-21 08:42:02 +00:00
nsswitch.h
paths.h practice alphabet: "g before i except never" etc. 2010-12-29 15:53:57 +00:00
pwd.h merge christos-time_t 2009-01-11 02:57:17 +00:00
randomid.h
ranlib.h
re_comp.h
regex.h
regexp.h
res_update.h merge libbind 2009-04-12 17:07:33 +00:00
resolv.h expose res_check for the benefit of mDNS. 2009-10-24 17:23:34 +00:00
rmt.h handle ssp 2011-02-16 19:29:35 +00:00
sa.h
sched.h merge christos-time_t 2009-01-11 02:57:17 +00:00
search.h
semaphore.h
setjmp.h Allow <machine/setjmp.h> to override the type using in jmpbuf. 2009-08-12 04:57:36 +00:00
sgtty.h
signal.h The signal number argument in psignal is int not unsigned int. 2010-08-27 08:40:38 +00:00
stab.h
stdbool.h
stddef.h Don't define wchar_t for c++; it is native in the language. From Alexander 2009-11-15 22:21:03 +00:00
stdio.h add fmemopen(3) derrived from POSIX:2008. 2010-09-24 09:21:53 +00:00
stdlib.h remove commaize_number. 2011-03-16 00:48:34 +00:00
string.h Declare strsignal(3) in <string.h>, per POSIX-2008, and adjust 2009-07-22 19:48:27 +00:00
stringlist.h
strings.h include <stdint.h> instead of <sys/types.h>. 2009-08-19 04:22:53 +00:00
struct.h
sysexits.h
tar.h
tgmath.h Add the C99 header <tgmath.h> (Type-generic math.h) 2008-09-28 14:57:41 +00:00
time.h Provide a re-entrant and thread-safe set of timezone API's that 2010-12-16 18:36:47 +00:00
ttyent.h
tzfile.h
ucontext.h Revert previous since it was just wrong. 2009-03-19 08:04:38 +00:00
ulimit.h
unistd.h * Arrange for interfaces that create new file descriptors to be able to 2011-06-26 16:42:39 +00:00
util.h Consistently use __printflike and __scanflike. 2010-02-25 18:37:12 +00:00
utime.h merge christos-time_t 2009-01-11 02:57:17 +00:00
utmp.h merge christos-time_t 2009-01-11 02:57:17 +00:00
utmpx.h don't do size computations because g++ does not like it. 2009-01-11 19:09:29 +00:00
uuid.h
varargs.h
vis.h Fix various vis/unvis issues: 2011-03-12 19:52:45 +00:00
wchar.h 1. {wctype,wctrans,mbstate}_t: switch MD to MI like other 2010-03-27 22:14:09 +00:00
wctype.h 1. {wctype,wctrans,mbstate}_t: switch MD to MI like other 2010-03-27 22:14:09 +00:00
wordexp.h