Bin Wang b91290ce41 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.

Signed-off-by: Bin Wang <wangbin224@huawei.com>
2021-11-30 10:15:28 +08:00
2019-09-30 10:40:45 -04:00
2021-08-06 17:32:15 +08:00
2019-12-14 14:32:18 +08:00
2020-07-06 09:03:03 +08:00
2019-09-30 10:40:45 -04:00
2019-09-30 10:40:45 -04:00
2019-09-30 10:40:45 -04:00
Description
No description provided
180 MiB
Languages
Shell 39%
Python 31.2%
Makefile 29.8%