glibc/socket
Florian Weimer 5bf07e1b3a 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.
2021-09-28 18:55:49 +02:00
..
bits Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sys socket: Add time64 alias for setsockopt 2021-07-22 19:16:26 +02:00
accept4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
accept.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bind.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
connect.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getpeername.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getsockname.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getsockopt.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
isfdtype.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
listen.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Makefile socket: Add time64 alias for getsockopt 2021-07-22 19:16:25 +02:00
opensock.c Linux: Simplify __opensock and fix race condition [BZ #28353] 2021-09-28 18:55:49 +02:00
recv.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
recvfrom.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
recvmmsg.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
recvmsg.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sa_len.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
send.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sendmmsg.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sendmsg.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sendto.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setsockopt.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
shutdown.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sockatmark.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
socket.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
socketpair.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-accept4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-sockopt-time64.c socket: Add time64 alias for getsockopt 2021-07-22 19:16:25 +02:00
tst-sockopt.c socket: Add time64 alias for getsockopt 2021-07-22 19:16:25 +02:00
Versions Fix mq_notify socket, recv namespace (bug 18546). 2015-06-17 20:20:08 +00:00