From: Rich Felker Date: Fri, 16 Nov 2012 00:16:10 +0000 (-0500) Subject: disable SO_REUSEPORT in sys/socket.h X-Git-Tag: v0.9.8~42 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=91738d0241aed345cac8685422d4518ea5f3cdf0;p=oweals%2Fmusl.git disable SO_REUSEPORT in sys/socket.h 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. --- diff --git a/arch/mips/bits/socket.h b/arch/mips/bits/socket.h index ba790452..74908744 100644 --- a/arch/mips/bits/socket.h +++ b/arch/mips/bits/socket.h @@ -36,7 +36,7 @@ struct cmsghdr #define SO_PRIORITY 12 #define SO_LINGER 128 #define SO_BSDCOMPAT 14 -#define SO_REUSEPORT 512 +/* #define SO_REUSEPORT 512 */ #define SO_PASSCRED 17 #define SO_PEERCRED 18 #define SO_RCVLOWAT 0x1004 diff --git a/include/sys/socket.h b/include/sys/socket.h index 0a2f11df..f1489186 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -143,7 +143,7 @@ struct linger #define SO_PRIORITY 12 #define SO_LINGER 13 #define SO_BSDCOMPAT 14 -#define SO_REUSEPORT 15 +/* #define SO_REUSEPORT 15 */ #define SO_PASSCRED 16 #define SO_PEERCRED 17 #define SO_RCVLOWAT 18