]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add compat.linux.ignore_ip_recverr sysctl. This is a workaround
authorEdward Tomasz Napierala <trasz@FreeBSD.org>
Tue, 28 Jan 2020 13:51:53 +0000 (13:51 +0000)
committerEdward Tomasz Napierala <trasz@FreeBSD.org>
Tue, 28 Jan 2020 13:51:53 +0000 (13:51 +0000)
commitda6d8ae6d83ac199098ec97aa88f57a36c4acd6b
treeb3175fa1c55ed607f916f969f0cc9824c14771e1
parent882f88ff77194ef2eea005232780468404438788
Add compat.linux.ignore_ip_recverr sysctl.  This is a workaround
for missing IP_RECVERR setsockopt(2) support. Without it, DNS
resolution is broken for glibc >= 2.30 (glibc BZ #24047).

From the user point of view this fixes "yum update" on recent
CentOS 8.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23234
sys/compat/linux/linux_mib.c
sys/compat/linux/linux_mib.h
sys/compat/linux/linux_socket.c
sys/compat/linux/linux_socket.h