From 4e9ff104f2071c096a4f91cb64c0c96e8a18b791 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 4 Feb 2019 15:47:59 +0100 Subject: Restore GLIBC_PRIVATE ABI after CVE-2016-10739 fix [BZ #20018] This commit avoids adding the __inet_aton_exact@GLIBC_PRIVATE symbol. In master, the separately-compiled getaddrinfo implementation in nscd needs it, however such an internal ABI change is not desirable on a release branch if it can be avoided easily. --- include/arpa/inet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/arpa') diff --git a/include/arpa/inet.h b/include/arpa/inet.h index 19aec74275..dce60b4909 100644 --- a/include/arpa/inet.h +++ b/include/arpa/inet.h @@ -2,8 +2,8 @@ #ifndef _ISOMAC /* Variant of inet_aton which rejects trailing garbage. */ -extern int __inet_aton_exact (const char *__cp, struct in_addr *__inp); -libc_hidden_proto (__inet_aton_exact) +extern int __inet_aton_exact (const char *__cp, struct in_addr *__inp) + attribute_hidden; libc_hidden_proto (inet_ntop) libc_hidden_proto (inet_pton) -- cgit v1.2.3