| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | libc { | 
|  | 2 | GLIBC_2.0 { | 
|  | 3 | _res; | 
|  | 4 |  | 
|  | 5 | # helper functions | 
|  | 6 | __h_errno_location; | 
|  | 7 |  | 
|  | 8 | # functions used in other libraries | 
|  | 9 | __res_randomid; | 
|  | 10 |  | 
|  | 11 | # variables in normal name space | 
|  | 12 | h_errlist; h_nerr; | 
|  | 13 |  | 
|  | 14 | # h* | 
|  | 15 | herror; hstrerror; | 
|  | 16 |  | 
|  | 17 | # r* | 
|  | 18 | res_init; | 
|  | 19 | } | 
|  | 20 | GLIBC_2.2 { | 
|  | 21 | # r* | 
|  | 22 | __res_state; __res_init; __res_nclose; __res_ninit; _res_hconf; | 
|  | 23 | } | 
|  | 24 | GLIBC_PRIVATE { | 
|  | 25 | __gai_sigqueue; | 
|  | 26 |  | 
|  | 27 | __h_errno; __resp; | 
|  | 28 |  | 
|  | 29 | __res_maybe_init; __res_iclose; | 
|  | 30 | } | 
|  | 31 | } | 
|  | 32 |  | 
|  | 33 | libresolv { | 
|  | 34 | GLIBC_2.0 { | 
|  | 35 | _gethtbyaddr; _gethtbyname; _gethtbyname2; _gethtent; _getlong; | 
|  | 36 | _getshort; _res_opcodes; _res_resultcodes; _sethtent; dn_expand; | 
|  | 37 | inet_net_ntop; inet_net_pton; inet_neta; res_gethostbyaddr; | 
|  | 38 | res_gethostbyname; res_gethostbyname2; res_mkquery; res_query; | 
|  | 39 | res_querydomain; res_search; res_send_setqhook; res_send_setrhook; | 
|  | 40 | # Variables | 
|  | 41 | __p_class_syms; __p_type_syms; | 
|  | 42 | # Private routines shared between libc/net, named, nslookup and others. | 
|  | 43 | __b64_ntop; __b64_pton; | 
|  | 44 | __dn_comp;  __dn_count_labels; __dn_skipname; | 
|  | 45 | __fp_nquery; __fp_query; __fp_resstat; __hostalias; | 
|  | 46 | __loc_aton; __loc_ntoa; | 
|  | 47 | __p_cdname; __p_cdnname; __p_class; __p_fqname; __p_fqnname; __p_option; | 
|  | 48 | __p_query; __p_rr; __p_secstodate; __p_time; __p_type; | 
|  | 49 | __putlong; __putshort; | 
|  | 50 | __res_close; __res_dnok; __res_hnok; __res_isourserver; __res_mailok; | 
|  | 51 | __res_nameinquery; __res_ownok; __res_queriesmatch; | 
|  | 52 | __res_send; | 
|  | 53 | __sym_ntop; __sym_ntos; __sym_ston; | 
|  | 54 | } | 
|  | 55 | GLIBC_2.2 { | 
|  | 56 | __dn_expand; | 
|  | 57 | __res_hostalias; __res_mkquery; __res_nmkquery; __res_nquery; | 
|  | 58 | __res_nquerydomain; __res_nsearch; __res_nsend; __res_query; | 
|  | 59 | __res_querydomain; __res_search; | 
|  | 60 | } | 
|  | 61 | GLIBC_2.3.2 { | 
|  | 62 | __p_rcode; | 
|  | 63 | } | 
|  | 64 | GLIBC_2.9 { | 
|  | 65 | ns_msg_getflag; | 
|  | 66 | ns_get16; ns_get32; ns_put16; ns_put32; | 
|  | 67 | ns_initparse; ns_skiprr; ns_parserr; | 
|  | 68 | ns_sprintrr; ns_sprintrrf; | 
|  | 69 | ns_format_ttl; ns_parse_ttl; | 
|  | 70 | ns_datetosecs; | 
|  | 71 | ns_name_ntol; ns_name_ntop; ns_name_pton; | 
|  | 72 | ns_name_unpack; ns_name_pack; | 
|  | 73 | ns_name_uncompress; ns_name_compress; | 
|  | 74 | ns_name_skip; ns_name_rollback; | 
|  | 75 | ns_samedomain; ns_subdomain; ns_makecanon; ns_samename; | 
|  | 76 | } | 
|  | 77 | GLIBC_PRIVATE { | 
|  | 78 | # Needed in libnss_dns. | 
|  | 79 | __ns_name_unpack; __ns_name_ntop; | 
|  | 80 | __ns_get16; __ns_get32; | 
|  | 81 | __libc_res_nquery; __libc_res_nsearch; | 
|  | 82 | } | 
|  | 83 | } | 
|  | 84 |  | 
|  | 85 | libnss_dns { | 
|  | 86 | GLIBC_PRIVATE { | 
|  | 87 | _nss_dns_gethostbyaddr_r; _nss_dns_gethostbyname2_r; | 
|  | 88 | _nss_dns_gethostbyname3_r; | 
|  | 89 | _nss_dns_gethostbyname_r; _nss_dns_getnetbyaddr_r; | 
|  | 90 | _nss_dns_getnetbyname_r; _nss_dns_getcanonname_r; | 
|  | 91 | _nss_dns_gethostbyaddr2_r; | 
|  | 92 | _nss_dns_gethostbyname4_r; | 
|  | 93 | } | 
|  | 94 | } | 
|  | 95 |  | 
|  | 96 | libanl { | 
|  | 97 | GLIBC_2.2.3 { | 
|  | 98 | gai_cancel; gai_error; gai_suspend; getaddrinfo_a; | 
|  | 99 | } | 
|  | 100 | } |