diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-09-28 18:55:49 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-09-28 18:55:49 +0200 |
commit | 5bf07e1b3a74232bfb8332275110be1a5da50f83 (patch) | |
tree | a6e60e0dfc2552654b35cdcce460ab099926785c /localedata/tst-rpmatch.c | |
parent | 9874ca536b1d0662b1cea46af3ce09a4d42aeb32 (diff) | |
download | glibc-5bf07e1b3a74232bfb8332275110be1a5da50f83.tar.gz glibc-5bf07e1b3a74232bfb8332275110be1a5da50f83.tar.xz glibc-5bf07e1b3a74232bfb8332275110be1a5da50f83.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.
Diffstat (limited to 'localedata/tst-rpmatch.c')
0 files changed, 0 insertions, 0 deletions