[PATCH] Linux: Simplify __opensock and fix race condition [BZ #28353]

Andreas Schwab schwab@linux-m68k.org
Mon Sep 27 18:45:26 GMT 2021


On Sep 27 2021, Florian Weimer via Libc-alpha wrote:

> 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 fixing.

Fixing what?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libc-alpha mailing list