Skip to content

Commit 2c44022

Browse files
cryptomilkvlendec
authored andcommitted
third_party: Update socket_wrapper to version 1.4.4
Signed-off-by: Andreas Schneider <[email protected]> Reviewed-by: Volker Lendecke <[email protected]> Autobuild-User(master): Volker Lendecke <[email protected]> Autobuild-Date(master): Thu Jan 23 11:28:32 UTC 2025 on atb-devel-224
1 parent 9aa5c43 commit 2c44022

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

buildtools/wafsamba/samba_third_party.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def CHECK_CMOCKA(conf):
2424

2525
@conf
2626
def CHECK_SOCKET_WRAPPER(conf):
27-
return conf.CHECK_BUNDLED_SYSTEM_PKG('socket_wrapper', minversion='1.4.3')
27+
return conf.CHECK_BUNDLED_SYSTEM_PKG('socket_wrapper', minversion='1.4.4')
2828
Build.BuildContext.CHECK_SOCKET_WRAPPER = CHECK_SOCKET_WRAPPER
2929

3030
@conf

third_party/socket_wrapper/socket_wrapper.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5110,6 +5110,13 @@ static int swrap_setsockopt(int s, int level, int optname,
51105110
}
51115111

51125112
if (level == SOL_SOCKET) {
5113+
/*
5114+
* SO_REUSEPORT is not supported on a unix socket. glibc 2.40
5115+
* returns ENOTSUPP now.
5116+
*/
5117+
if (optname == SO_REUSEPORT) {
5118+
return 0;
5119+
}
51135120
return libc_setsockopt(s,
51145121
level,
51155122
optname,

third_party/socket_wrapper/wscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import os
44

5-
VERSION = "1.4.3"
5+
VERSION = "1.4.4"
66

77

88
def configure(conf):

0 commit comments

Comments
 (0)