summaryrefslogtreecommitdiff
path: root/arch/i386/bits/socket.h
AgeCommit message (Collapse)AuthorLines
2016-01-27deduplicate the bulk of the arch bits headersRich Felker-17/+0
all bits headers that were identical for a number of 'clean' archs are moved to the new arch/generic tree. in addition, a few headers that differed only cosmetically from the new generic version are removed. additional deduplication may be possible in mman.h and in several headers (limits.h, posix.h, stdint.h) that mostly depend on whether the arch is 32- or 64-bit, but they are left alone for now because greater gains are likely possible with more invasive changes to header logic, which is beyond the scope of this commit.
2012-07-12workaround another sendmsg kernel bug on 64-bit machinesRich Felker-0/+7
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.
2011-09-18cleanup more bits cruft (sysmacros and socket)Rich Felker-199/+0
2011-07-21socket headers macro adjustment - workaround for buggy programsRich Felker-1/+1
some program was undefining AF_NETLINK and thereby breaking AF_ROUTE...
2011-02-20resolve some header namespace non-issuesRich Felker-1/+0
after re-reading 2.2.2 of POSIX 2008, all of these are in the correct reserved namespaces and do not need protection.
2011-02-15preparing build system to handle ports - step 1Rich Felker-0/+210