glibc/inet
Joseph Myers 9acacaa02f Fix h_errno namespace (bug 18520).
The 2008 edition of POSIX removed h_errno, but some functions still
bring in references to the h_errno external symbol.  As this symbol is
not a part of the public ABI (only __h_errno_location is), this patch
fixes this by renaming the GLIBC_PRIVATE TLS symbol to __h_errno.

Tested for x86_64 and x86 (testsuite, and comparison of installed
shared libraries).  Disassembly of all shared libraries using h_errno
changes because of the renaming (and changes to associated TLS / GOT
offsets in some cases); disassembly of libpthread on x86_64 changes
more substantially because the enlargement of .dynsym affects
subsequent addresses.

	[BZ #18520]
	* inet/herrno.c (h_errno): Rename to __h_errno.
	(__libc_h_errno): Define as alias of __h_errno not h_errno.
	* include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
	to __h_errno instead of h_errno.
	* nptl/herrno.c (h_errno): Rename to __h_errno.
	(__h_errno_location): Refer to __h_errno not h_errno.
	* resolv/Versions (h_errno): Rename to __h_errno.
	* conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
	Remove variable.
	(test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2015-06-12 10:10:18 +00:00
..
arpa Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
netinet in.h: Coordinate in6_pktinfo and ip6_mtuinfo for kernel and glibc [BZ #15850] 2015-02-25 00:13:28 -05:00
protocols
aliases.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
bug-if1.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
check_native.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
check_pf.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ether_aton_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ether_aton.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ether_hton.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ether_line.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ether_ntoa_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ether_ntoa.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ether_ntoh.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getaliasent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getaliasent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getaliasname_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getaliasname.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstbyad_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstbyad.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstbynm2_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstbynm2.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstbynm_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstbynm.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getipv4sourcefilter.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnameinfo.c getnameinfo: Use struct scratch_buffer instead of extend_alloca 2015-04-08 21:07:44 +02:00
getnetbyad_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnetbyad.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnetbynm_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnetbynm.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnetent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnetent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnetgrent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnetgrent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getproto_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getproto.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getprtent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getprtent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getprtname_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getprtname.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getservent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getservent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getsourcefilter.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getsrvbynm_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getsrvbynm.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getsrvbypt_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getsrvbypt.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
herrno-loc.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
herrno.c Fix h_errno namespace (bug 18520). 2015-06-12 10:10:18 +00:00
htonl.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
htons.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
htontest.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
if_index.c Add missing libc_hidden_weak to stub if_nameindex, if_freenameindex. 2015-01-23 11:29:02 -08:00
ifaddrs.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ifaddrs.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ifreq.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
in6_addr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
inet6_opt.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
inet6_option.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
inet6_rth.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
inet_lnaof.c
inet_mkadr.c
inet_net.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
inet_netof.c
inet_ntoa.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Makefile Exclude rpcent functions and NSS backends for rpc, key when excluding sunrpc. 2015-02-06 10:43:19 -08:00
netgroup.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
rcmd.c * inet/rcmd.c (rresvport_af): Change ss to anonymous union 2015-05-19 13:09:01 -07:00
rexec.c
ruserpass.c
setipv4sourcefilter.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setsourcefilter.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
test_ifindex.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
test-ifaddrs.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
test-inet6_opt.c
tst-checks.c
tst-ether_aton.c
tst-ether_line.c
tst-gethnm.c
tst-getni1.c
tst-getni2.c
tst-inet6_rth.c
tst-network.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-ntoa.c
Versions Exclude rpcent functions and NSS backends for rpc, key when excluding sunrpc. 2015-02-06 10:43:19 -08:00