diff options
Diffstat (limited to 'resolv')
-rw-r--r-- | resolv/Makefile | 2 | ||||
-rw-r--r-- | resolv/libnss_dns.map | 9 | ||||
-rw-r--r-- | resolv/libresolv.map | 11 |
3 files changed, 22 insertions, 0 deletions
diff --git a/resolv/Makefile b/resolv/Makefile index 7b99aee..4d11b4d 100644 --- a/resolv/Makefile +++ b/resolv/Makefile @@ -32,11 +32,13 @@ extra-libs-others = $(extra-libs) libresolv-routines := gethnamaddr res_comp res_debug \ res_data res_mkquery res_query res_send \ inet_net_ntop inet_net_pton inet_neta base64 +libresolv-map := libresolv.map subdir-dirs = nss_dns vpath %.c nss_dns libnss_dns-routines := dns-host dns-network +libnss_dns-map := libnss_dns.map libnss_dns-inhibit-o = $(filter-out .so,$(object-suffixes)) include ../Rules diff --git a/resolv/libnss_dns.map b/resolv/libnss_dns.map new file mode 100644 index 0000000..359ddc1 --- /dev/null +++ b/resolv/libnss_dns.map @@ -0,0 +1,9 @@ +GLIBC_2.0 { + global: + _nss_dns_gethostbyaddr_r; _nss_dns_gethostbyname2_r; + _nss_dns_gethostbyname_r; _nss_dns_getnetbyaddr_r; + _nss_dns_getnetbyname_r; + + local: + *; +};
\ No newline at end of file diff --git a/resolv/libresolv.map b/resolv/libresolv.map new file mode 100644 index 0000000..79d7053 --- /dev/null +++ b/resolv/libresolv.map @@ -0,0 +1,11 @@ +GLIBC_2.0 { + global: + _gethtbyaddr; _gethtbyname; _gethtbyname2; _gethtent; _getlong; + _getshort; _res_opcodes; _res_resultcodes; _sethtent; dn_expand; + inet_net_ntop; inet_net_pton; inet_neta; res_gethostbyaddr; + res_gethostbyname; res_gethostbyname2; res_mkquery; res_query; + res_querydomain; res_search; res_send_setqhook; res_send_setrhook; + + local: + *; +};
\ No newline at end of file |