glibc/inet
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
..
arpa
netinet
protocols
rpc
bindresvport.c
bug-if1.c
check_native.c
check_pf.c
deadline.c
etc.rpc
ether_aton_r.c
ether_aton.c
ether_line.c
ether_ntoa_r.c
ether_ntoa.c
getipv4sourcefilter.c
getsourcefilter.c
herrno-loc.c
herrno.c
htonl.c
htons.c
htontest.c
idna_name_classify.c
idna.c
if_index.c
ifaddrs.c
ifaddrs.h
ifreq.c
in6_addr.c
inet6_opt.c
inet6_option.c
inet6_rth.c
inet6_scopeid_pton.c
inet_lnaof.c
inet_mkadr.c
inet_net.c
inet_netof.c
inet_ntoa.c
Makefile
net-internal.h
rcmd.c
rexec.c
ruserpass.c
setipv4sourcefilter.c
setsourcefilter.c
test_ifindex.c
test-hnto-types.c
test-ifaddrs.c
test-inet6_opt.c
tst-checks-posix.c
tst-checks.c
tst-deadline.c
tst-ether_aton.c
tst-ether_line.c
tst-getni1.c
tst-getni2.c
tst-idna_name_classify.c
tst-if_index-long.c
tst-inet6_rth.c
tst-inet6_scopeid_pton.c
tst-network.c
tst-ntoa.c
tst-sockaddr.c
Versions