aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-09-28 18:55:49 +0200
committerFlorian Weimer <fweimer@redhat.com>2022-02-03 16:21:50 +0100
commitad615b59c78d6d37fee921fb2b2ae6b72c930625 (patch)
tree757aa05cfe8edad9b47b3215946f328b8840cb9c /scripts/cpp
parent05c83ccaf50aef2dd30d92cbb814383f6bddea2c (diff)
downloadglibc-ad615b59c78d6d37fee921fb2b2ae6b72c930625.tar.xz
glibc-ad615b59c78d6d37fee921fb2b2ae6b72c930625.zip
Linux: Simplify __opensock and fix race condition [BZ #28353]
AF_NETLINK support is not quite optional on modern Linux systems anymore, so it is likely that the first attempt will always succeed. Consequently, there is no need to cache the result. Keep AF_UNIX and the Internet address families as a fallback, for the rare case that AF_NETLINK is missing. The other address families previously probed are totally obsolete be now, so remove them. Use this simplified version as the generic implementation, disabling Netlink support as needed. (cherry picked from commit 5bf07e1b3a74232bfb8332275110be1a5da50f83)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions