summaryrefslogtreecommitdiff
path: root/arch/mips/bits/socket.h
AgeCommit message (Collapse)AuthorFilesLines
2016-07-03make brace placement in public header struct definitions consistentRich Felker1-4/+2
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.
2015-07-21socket.h: cleanup/reorder mips and powerpc bits/socket.hRoman Yeryomin1-16/+18
....to be somewhat consistent and easily comparable with asm/socket.h Signed-off-by: Roman Yeryomin <roman@ubnt.com>
2015-07-21socket.h: fix SO_* for mipsRoman Yeryomin1-0/+3
Signed-off-by: Roman Yeryomin <roman@ubnt.com>
2014-04-30fix missing SO_RCVBUFFORCE and SO_SNDBUFFORCE in mips socket.hRich Felker1-1/+2
2013-04-01add the new SO_REUSEPORT socket option to mips and powerpcSzabolcs Nagy1-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 Felker1-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 Felker1-0/+28
2012-08-05fix socket.h on mipsRich Felker1-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 Felker1-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 Felker1-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.