History log of /seL4-test-master/projects/musllibc/arch/x86_64/bits/socket.h
Revision Date Author Comments
# 28fa19b9 04-Aug-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

Fix up x86_64_sel4 arch after merge


# befa5866 03-Jul-2016 Rich Felker <dalias@aerifal.cx>

make brace placement in public header struct definitions consistent

placing the opening brace on the same line as the struct keyword/tag
is the style I prefer and seems to be the prevailing practice in more
recent additions.

these changes were generated by the command:

find include/ arch/*/bits -name '*.h' \
-exec sed -i '/^struct [^;{]*$/{N;s/\n/ /;}' {} +

and subsequently checked by hand to ensure that the regex did not pick
up any false positives.


# de8621ca 16-Aug-2015 Adrian Danis <Adrian.Danis@nicta.com.au>

Support a seL4 x86_64 build


# 96107564 12-Jul-2012 Rich Felker <dalias@aerifal.cx>

workaround another sendmsg kernel bug on 64-bit machines

the kernel wrongly expects the cmsg length field to be size_t instead
of socklen_t. in order to work around the issue, we have to impose a
length limit and copy to a local buffer. the length limit should be
more than sufficient for any real-world use; these headers are only
used for passing file descriptors and permissions between processes
over unix sockets.


# b0c088ee 18-Sep-2011 Rich Felker <dalias@aerifal.cx>

cleanup more bits cruft (sysmacros and socket)


# 63d447e2 21-Jul-2011 Rich Felker <dalias@aerifal.cx>

socket headers macro adjustment - workaround for buggy programs

some program was undefining AF_NETLINK and thereby breaking AF_ROUTE...


# 71687907 08-Apr-2011 Rich Felker <dalias@aerifal.cx>

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...


# bb89bdd0 15-Feb-2011 Nicholas J. Kain <njkain@gmail.com>

Update x86_64 bits to mirror (modulo platform differences) the latest changes
to i386.


# 1e126325 15-Feb-2011 Nicholas J. Kain <njkain@gmail.com>

Port musl to x86-64. One giant commit!