src/socket_wrapper.c: handle raw SYS_close, SYS_recvmmsg and SYS_sendmmsg syscall...
authorStefan Metzmacher <metze@samba.org>
Mon, 16 Jan 2023 18:46:13 +0000 (19:46 +0100)
committerAndreas Schneider <asn@samba.org>
Tue, 17 Jan 2023 16:47:25 +0000 (17:47 +0100)
commit72da1a76e78bcf9be733ec72cce7060a6e19606a
tree743b344ffabe2ac4683615a065533771eb1c7f89
parent7fbf20da01e9cc2031e92111bc794048a13d5f50
src/socket_wrapper.c: handle raw SYS_close, SYS_recvmmsg and SYS_sendmmsg syscall() invocations

This fixes a problem hit by 'nsupdate -g' and bind9 (dnsutils). If bind is built
against libuv <= 1.44.2 it will not use sendmmsg/recvmmsg functions from libc
but use the corresponding syscalls directly. Newer version of libuv removed
the syscall wrappers and use sendmmsg/recvmmsg from libc.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
ConfigureChecks.cmake
config.h.cmake
src/socket_wrapper.c