-%include <tls.h>
-
libc {
GLIBC_2.0 {
-%if !(USE_TLS && HAVE___THREAD)
- # global variables
- _h_errno; _res;
-%endif
+ _res;
# helper functions
__h_errno_location;
# variables in normal name space
h_errlist; h_nerr;
-%if !(USE_TLS && HAVE___THREAD)
- h_errno;
-%endif
# h*
herror; hstrerror;
# r*
__res_state; __res_init; __res_nclose; __res_ninit; _res_hconf;
}
- GLIBC_2.3 {
-%if USE_TLS && HAVE___THREAD
- # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
- h_errno; _res;
-%endif
- }
GLIBC_PRIVATE {
__gai_sigqueue;
+
+ __h_errno; __resp;
+
+ __res_iclose;
+ __inet_aton_exact;
+ __inet_pton_length;
+ __resolv_context_get;
+ __resolv_context_get_preinit;
+ __resolv_context_get_override;
+ __resolv_context_put;
}
}
__res_nquerydomain; __res_nsearch; __res_nsend; __res_query;
__res_querydomain; __res_search;
}
+ GLIBC_2.3.2 {
+ __p_rcode;
+ }
+ GLIBC_2.9 {
+ ns_msg_getflag;
+ ns_get16; ns_get32; ns_put16; ns_put32;
+ ns_initparse; ns_skiprr; ns_parserr;
+ ns_sprintrr; ns_sprintrrf;
+ ns_format_ttl; ns_parse_ttl;
+ ns_datetosecs;
+ ns_name_ntol; ns_name_ntop; ns_name_pton;
+ ns_name_unpack; ns_name_pack;
+ ns_name_uncompress; ns_name_compress;
+ ns_name_skip; ns_name_rollback;
+ ns_samedomain; ns_subdomain; ns_makecanon; ns_samename;
+ }
GLIBC_PRIVATE {
# Needed in libnss_dns.
__ns_name_unpack; __ns_name_ntop;
- __ns_get16; __ns_samename;
+ __ns_get16; __ns_get32;
+ __res_context_query;
+ __res_context_search;
+ __res_context_hostalias;
}
}
libnss_dns {
GLIBC_PRIVATE {
_nss_dns_gethostbyaddr_r; _nss_dns_gethostbyname2_r;
+ _nss_dns_gethostbyname3_r;
_nss_dns_gethostbyname_r; _nss_dns_getnetbyaddr_r;
- _nss_dns_getnetbyname_r;
+ _nss_dns_getnetbyname_r; _nss_dns_getcanonname_r;
+ _nss_dns_gethostbyaddr2_r;
+ _nss_dns_gethostbyname4_r;
}
}
libanl {
GLIBC_2.2.3 {
- getaddrinfo_a; gai_cancel; gai_error; gai_suspend;
+ gai_cancel; gai_error; gai_suspend; getaddrinfo_a;
}
}