fdff3d2 Merge branch 'include'
arch/x64/math.cc | 1 +
bsd/include/arpa/inet.h | 52 +-
bsd/machine/param.h | 130 -
bsd/porting/netport.h | 3 +-
bsd/porting/networking.h | 2 +
bsd/sys/cddl/compat/opensolaris/sys/proc.h | 2 +-
.../contrib/opensolaris/uts/common/sys/procset.h | 2 +-
bsd/sys/compat/linux/linux_ioctl.c | 2 +-
bsd/sys/netinet/in.h | 54 +-
bsd/sys/sys/param.h | 2 -
bsd/sys/sys/socket.h | 56 +-
bsd/sys/sys/sysctl.h | 1 +
build.mak | 33 +-
drivers/console.cc | 2 -
external/misc.bin | 2 +-
fs/fatfs/fatfs.h | 2 +
fs/romfs/romfs_vnops.c | 2 +
fs/vfs/main.cc | 5 +
fs/vfs/vfs_fops.c | 2 +-
fs/vfs/vfs_vnode.c | 1 +
include/api/aio.h | 69 +
include/api/alloca.h | 21 +
include/api/ar.h | 25 +
include/api/arpa/ftp.h | 35 +
include/api/arpa/inet.h | 43 +
include/api/arpa/nameser.h | 467 ++++
include/api/arpa/nameser_compat.h | 1 +
include/api/arpa/telnet.h | 251 ++
include/api/arpa/tftp.h | 30 +
include/api/assert.h | 19 +
include/api/byteswap.h | 26 +
include/api/complex.h | 125 +
include/api/cpio.h | 29 +
include/api/crypt.h | 20 +
include/api/ctype.h | 67 +
include/api/dirent.h | 79 +
include/api/dlfcn.h | 39 +
include/api/elf.h | 2555 ++++++++++++++++++++
include/api/endian.h | 82 +
include/api/err.h | 25 +
include/api/errno.h | 26 +
include/api/fcntl.h | 170 ++
include/api/features.h | 32 +
include/api/fenv.h | 27 +
include/api/float.h | 32 +
include/api/fnmatch.h | 29 +
include/api/ftw.h | 42 +
include/api/getopt.h | 31 +
include/api/glob.h | 48 +
include/api/grp.h | 52 +
include/api/iconv.h | 24 +
include/api/ifaddrs.h | 34 +
include/api/inttypes.h | 230 ++
include/api/iso646.h | 20 +
include/api/langinfo.h | 87 +
include/api/lastlog.h | 1 +
include/api/libgen.h | 15 +
include/api/libintl.h | 25 +
include/api/limits.h | 146 ++
include/api/link.h | 50 +
include/api/locale.h | 82 +
include/api/math.h | 420 ++++
include/api/memory.h | 1 +
include/api/mntent.h | 44 +
include/api/monetary.h | 23 +
include/api/mqueue.h | 36 +
include/api/net/ethernet.h | 55 +
include/api/net/if.h | 135 ++
include/api/net/if_arp.h | 133 +
include/api/net/route.h | 124 +
include/api/netdb.h | 164 ++
include/api/netinet/icmp6.h | 305 +++
include/api/netinet/if_ether.h | 123 +
include/api/netinet/in.h | 340 +++
include/api/netinet/in_systm.h | 9 +
include/api/netinet/ip.h | 186 ++
include/api/netinet/ip6.h | 142 ++
include/api/netinet/ip_icmp.h | 192 ++
include/api/netinet/tcp.h | 37 +
include/api/netinet/udp.h | 35 +
include/api/netpacket/packet.h | 44 +
include/api/nl_types.h | 24 +
include/api/paths.h | 41 +
include/api/poll.h | 46 +
include/api/pthread.h | 219 ++
include/api/pty.h | 18 +
include/api/pwd.h | 49 +
include/api/regex.h | 63 +
include/api/resolv.h | 144 ++
include/api/sched.h | 71 +
include/api/scsi/scsi.h | 149 ++
include/api/scsi/sg.h | 129 +
include/api/search.h | 51 +
include/api/semaphore.h | 35 +
include/api/setjmp.h | 43 +
include/api/shadow.h | 44 +
include/api/signal.h | 245 ++
include/api/spawn.h | 74 +
include/api/stdalign.h | 15 +
include/api/stdarg.h | 25 +
include/api/stdbool.h | 14 +
include/api/stddef.h | 18 +
include/api/stdint.h | 109 +
include/api/stdio.h | 198 ++
include/api/stdio_ext.h | 34 +
include/api/stdlib.h | 179 ++
include/api/stdnoreturn.h | 5 +
include/api/string.h | 102 +
include/api/strings.h | 35 +
include/api/stropts.h | 139 ++
include/api/sys/acct.h | 75 +
include/api/sys/cachectl.h | 22 +
include/api/sys/epoll.h | 67 +
include/api/sys/eventfd.h | 26 +
include/api/sys/file.h | 21 +
include/api/sys/fsuid.h | 20 +
include/api/sys/inotify.h | 57 +
include/api/sys/io.h | 17 +
include/api/sys/ioctl.h | 14 +
include/api/sys/ipc.h | 42 +
include/api/sys/kd.h | 8 +
include/api/sys/klog.h | 14 +
include/api/sys/mman.h | 55 +
include/api/sys/mount.h | 72 +
include/api/sys/msg.h | 51 +
include/api/sys/mtio.h | 188 ++
include/api/sys/param.h | 35 +
include/api/sys/personality.h | 6 +
include/api/sys/poll.h | 1 +
include/api/sys/prctl.h | 64 +
include/api/sys/procfs.h | 65 +
include/api/sys/ptrace.h | 85 +
include/api/sys/reboot.h | 20 +
include/api/sys/reg.h | 9 +
include/api/sys/resource.h | 104 +
include/api/sys/select.h | 39 +
include/api/sys/sem.h | 74 +
include/api/sys/sendfile.h | 22 +
include/api/sys/shm.h | 59 +
include/api/sys/signalfd.h | 44 +
include/api/sys/socket.h | 294 +++
include/api/sys/soundcard.h | 1 +
include/api/sys/stat.h | 116 +
include/api/sys/statfs.h | 32 +
include/api/sys/statvfs.h | 57 +
include/api/sys/stropts.h | 1 +
include/api/sys/swap.h | 21 +
include/api/sys/syscall.h | 6 +
include/api/sys/sysctl.h | 19 +
include/api/sys/sysinfo.h | 36 +
include/api/sys/syslog.h | 1 +
include/api/sys/sysmacros.h | 8 +
include/api/sys/time.h | 58 +
include/api/sys/timerfd.h | 24 +
include/api/sys/times.h | 25 +
include/api/sys/timex.h | 98 +
include/api/sys/types.h | 90 +
include/api/sys/ucontext.h | 1 +
include/api/sys/uio.h | 46 +
include/api/sys/un.h | 13 +
include/api/sys/user.h | 16 +
include/api/sys/utsname.h | 30 +
include/api/sys/vfs.h | 1 +
include/api/sys/vt.h | 1 +
include/api/sys/wait.h | 56 +
include/api/sys/xattr.h | 30 +
include/api/syscall.h | 1 +
include/api/sysexits.h | 21 +
include/api/syslog.h | 104 +
include/api/tar.h | 33 +
include/api/termios.h | 46 +
include/api/tgmath.h | 270 +++
include/api/time.h | 123 +
include/api/ucontext.h | 25 +
include/api/ulimit.h | 17 +
include/api/unistd.h | 512 ++++
include/api/utime.h | 24 +
include/api/utmp.h | 41 +
include/api/utmpx.h | 57 +
include/api/values.h | 39 +
include/api/wchar.h | 182 ++
include/api/wctype.h | 76 +
include/api/wordexp.h | 42 +
include/api/x86_64/atomic.h | 127 +
include/api/x86_64/bits/alltypes.h.sh | 145 ++
include/api/x86_64/bits/endian.h | 1 +
include/api/x86_64/bits/errno.h | 134 +
include/api/x86_64/bits/fcntl.h | 38 +
include/api/x86_64/bits/fenv.h | 34 +
include/api/x86_64/bits/float.h | 20 +
include/api/x86_64/bits/io.h | 77 +
include/api/x86_64/bits/ioctl.h | 198 ++
include/api/x86_64/bits/ipc.h | 14 +
include/api/x86_64/bits/limits.h | 8 +
include/api/x86_64/bits/mman.h | 62 +
include/api/x86_64/bits/msg.h | 13 +
include/api/x86_64/bits/posix.h | 2 +
include/api/x86_64/bits/reg.h | 29 +
include/api/x86_64/bits/setjmp.h | 1 +
include/api/x86_64/bits/shm.h | 15 +
include/api/x86_64/bits/signal.h | 118 +
include/api/x86_64/bits/socket.h | 18 +
include/api/x86_64/bits/stat.h | 22 +
include/api/x86_64/bits/statfs.h | 7 +
include/api/x86_64/bits/stdarg.h | 4 +
include/api/x86_64/bits/stdint.h | 23 +
include/api/x86_64/bits/syscall.h | 653 +++++
include/api/x86_64/bits/termios.h | 160 ++
include/api/x86_64/bits/user.h | 44 +
include/api/x86_64/pthread_arch.h | 10 +
include/api/x86_64/reloc.h | 46 +
include/api/x86_64/syscall_arch.h | 62 +
include/glibc-compat/bits/wordsize.h | 7 +
include/glibc-compat/ctype.h | 25 +
include/glibc-compat/features.h | 8 +
include/glibc-compat/locale.h | 8 +
include/glibc-compat/sys/cdefs.h | 17 +
include/glibc-compat/sys/errno.h | 1 +
include/glibc-compat/sys/ioctl.h | 7 +
include/glibc-compat/xlocale.h | 6 +
include/osv/fcntl.h | 2 +
include/osv/ioctl.h | 7 +-
include/osv/mutex.h | 4 +-
include/osv/prex.h | 1 -
include/osv/uio.h | 2 +
java/jni/stty.c | 1 -
libc/dir.cc | 4 +
libc/dlfcn.cc | 3 +-
libc/internal/locale_impl.h | 17 +-
libc/libc.cc | 1 +
libc/misc/realpath.c | 1 +
libc/stdio/stdio_impl.h | 1 +
libc/stdio/vfprintf.c | 4 -
libc/stdio/vfwprintf.c | 4 -
libc/time.cc | 1 +
libc/time/tzset.c | 2 -
linux.cc | 3 +-
runtime.cc | 8 +
tests/testrunner.c | 1 +
tests/tst-fat.c | 1 +
tests/tst-lsroute.cc | 1 +
tests/tst-romfs.c | 1 +
242 files changed, 16438 insertions(+), 299 deletions(-)
Upstream: github.com