musl/arch/x86_64/bits
Rich Felker 7168790763 workaround broken msghdr struct on 64bit linux
POSIX clearly specifies the type of msg_iovlen and msg_controllen, and
Linux ignores it and makes them both size_t instead. to work around
this we add padding (instead of just using the wrong types like glibc
does), but we also need to patch-up the struct before passing it to
the kernel in case the caller did not zero-fill it.

if i could trust the kernel to just ignore the upper 32 bits, this
would not be necessary, but i don't think it will ignore them...
2011-04-08 09:24:19 -04:00
..
alltypes.h.sh remove obsolete and useless useconds_t type 2011-04-01 21:10:01 -04:00
endian.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
errno.h fix missing ENOTSUP error code 2011-03-11 09:50:54 -05:00
fcntl.h syscall overhaul part two - unify public and internal syscall interface 2011-03-19 21:36:10 -04:00
fenv.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
float.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
in.h add ip6 pktinfo stuff for x86_64 2011-04-05 17:27:28 -04:00
ioctl.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
ipc.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
limits.h protect some limit constants with feature test macros on x86_64 2011-02-15 19:16:37 -05:00
mman.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
posix.h fix x86_64 wrongly reporting itself as ILP32 instead of LP64 2011-02-15 15:56:58 -05:00
pthread.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
reg.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
setjmp.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
shm.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
signal.h make sigaltstack work (missing macros in signal.h, error conditions) 2011-03-10 10:17:29 -05:00
socket.h workaround broken msghdr struct on 64bit linux 2011-04-08 09:24:19 -04:00
stat.h Update x86_64 bits to mirror (modulo platform differences) the latest changes 2011-02-15 08:02:33 -05:00
statfs.h fix statvfs syscalls (missing size argument) 2011-04-03 15:42:31 -04:00
stdarg.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
stdint.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
syscall.h fix typo in x86_64 part of syscall overhaul 2011-03-19 21:50:20 -04:00
sysmacros.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
tcp.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
termios.h various legacy and linux-specific stuff 2011-03-18 21:52:26 -04:00
user.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
wait.h Update x86_64 bits to mirror (modulo platform differences) the latest changes 2011-02-15 08:02:33 -05:00
wexitstatus.h add missing WIFCONTINUED macro and improve WIFSIGNALED 2011-02-19 02:23:29 -05:00