glibc/socket
Florian Weimer 8d7b6b4cb2 socket: Use may_alias on sockaddr structs (bug 19622)
This supports common coding patterns.  The GCC C front end before
version 7 rejects the may_alias attribute on a struct definition
if it was not present in a previous forward declaration, so this
attribute can only be conditionally applied.

This implements the spirit of the change in Austin Group issue 1641.

Suggested-by: Marek Polacek <polacek@redhat.com>
Suggested-by: Jakub Jelinek <jakub@redhat.com>
Reviewed-by: Sam James <sam@gentoo.org>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2024-05-18 09:33:19 +02:00
..
bits socket: Improve fortify with clang 2024-02-27 10:52:59 -03:00
sys socket: Use may_alias on sockaddr structs (bug 19622) 2024-05-18 09:33:19 +02:00
accept4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
accept.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
bind.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
connect.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
getpeername.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
getsockname.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
getsockopt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
isfdtype.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
listen.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Makefile socket: Add new test for connect 2024-04-10 18:10:22 +02:00
opensock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
recv.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
recvfrom.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
recvmmsg.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
recvmsg.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sa_len.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
send.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sendmmsg.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sendmsg.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sendto.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
setsockopt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
shutdown.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sockaddr_un_set.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sockatmark.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
socket.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
socketpair.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-accept4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cmsg_cloexec.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cmsghdr-skeleton.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cmsghdr.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-connect.c socket: Add new test for connect 2024-04-10 18:10:22 +02:00
tst-sockaddr_un_set.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sockopt-time64.c socket: Add time64 alias for getsockopt 2021-07-22 19:16:25 +02:00
tst-sockopt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Versions Fix mq_notify socket, recv namespace (bug 18546). 2015-06-17 20:20:08 +00:00