summaryrefslogtreecommitdiff
path: root/arch/mips/bits/socket.h
AgeCommit message (Collapse)AuthorLines
2013-04-01add the new SO_REUSEPORT socket option to mips and powerpcSzabolcs Nagy-1/+1
SO_REUSEPORT implementation was merged in the linux kernel commit c617f398edd4db2b8567a28e899a88f8f574798d 2013-01-23
2012-11-15disable SO_REUSEPORT in sys/socket.hRich Felker-1/+1
although a number is reserved for it, this option is not implemented on Linux and does not work. defining it causes some applications to use it, and subsequently break due to its failure.
2012-11-05fix numerous mips abi constant definition mismatchesRich Felker-0/+28
2012-08-05fix socket.h on mipsRich Felker-0/+3
why does mips have to be gratuitously incompatible in every possible imaginable way?
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.
2012-07-11initial version of mips (o32) port, based on work by Richard Pennington (rdp)Rich Felker-0/+10
basically, this version of the code was obtained by starting with rdp's work from his ellcc source tree, adapting it to musl's build system and coding style, auditing the bits headers for discrepencies with kernel definitions or glibc/LSB ABI or large file issues, fixing up incompatibility with the old binutils from aboriginal linux, and adding some new special cases to deal with the oddities of sigaction and pipe syscall interfaces on mips. at present, minimal test programs work, but some interfaces are broken or missing. threaded programs probably will not link.