aboutsummaryrefslogtreecommitdiff
path: root/include/sys/socket.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* always expose accept4•••it will be in the next version of POSIX Rich Felker2012-09-291-4/+1
* add acct, accept4, setns, and dup3 syscalls (linux extensions)•••based on patch by Justin Cormack Rich Felker2012-09-081-0/+4
* remove all remaining redundant __restrict/__inline/_Noreturn defsRich Felker2012-09-081-5/+1
* use restrict everywhere it's required by c99 and/or posix 2008•••to deal with the fact that the public headers may be used with pre-c99 compilers, __restrict is used in place of restrict, and defined appropriately for any supported compiler. we also avoid the form [restrict] since older versions of gcc rejected it due to a bug in the original c99 standard, and instead use the form *restrict. Rich Felker2012-09-061-5/+11
* fix socket.h on mips•••why does mips have to be gratuitously incompatible in every possible imaginable way? Rich Felker2012-08-051-0/+3
* 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. Rich Felker2012-07-121-7/+0
* cleanup more bits cruft (sysmacros and socket)Rich Felker2011-09-181-0/+196
* fix some struct padding to match LSB/glibc ABI where it may be helpfulRich Felker2011-06-161-2/+4
* extensive header cleanup for standards conformance & correctness•••thanks to Peter Mazinger (psm) for pointing many of these issues out and submitting a patch on which this commit is loosely based Rich Felker2011-02-141-0/+1
* initial check-in, version 0.5.0Rich Felker2011-02-121-0/+64