about summary refs log tree commit diff
path: root/include/arpa/inet.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-02-04 15:47:59 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-02-04 15:47:59 +0100
commit4e9ff104f2071c096a4f91cb64c0c96e8a18b791 (patch)
treeb8df7235a6b3150ec85b2162e4fe159da008fa07 /include/arpa/inet.h
parent525478a25143fa1d040fd857600415fb2e4c0fe1 (diff)
downloadglibc-4e9ff104f2071c096a4f91cb64c0c96e8a18b791.tar.gz
glibc-4e9ff104f2071c096a4f91cb64c0c96e8a18b791.tar.xz
glibc-4e9ff104f2071c096a4f91cb64c0c96e8a18b791.zip
Restore GLIBC_PRIVATE ABI after CVE-2016-10739 fix [BZ #20018] fw/bug20018-backport
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.
Diffstat (limited to 'include/arpa/inet.h')
-rw-r--r--include/arpa/inet.h4
1 files changed, 2 insertions, 2 deletions
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)