aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
Diffstat (limited to 'resolv')
-rw-r--r--resolv/Versions (renamed from resolv/libresolv.map)38
-rw-r--r--resolv/libnss_dns.map9
2 files changed, 33 insertions, 14 deletions
diff --git a/resolv/libresolv.map b/resolv/Versions
index 8cb621072a..112f55a19e 100644
--- a/resolv/libresolv.map
+++ b/resolv/Versions
@@ -1,5 +1,27 @@
-GLIBC_2.0 {
- global:
+libc {
+ GLIBC_2.0 {
+ # global variables
+ _h_errno; _res;
+
+ # helper functions
+ __h_errno_location;
+
+ # functions used in other libraries
+ __res_randomid;
+
+ # variables in normal name space
+ h_errlist; h_errno; h_nerr;
+
+ # h*
+ herror; hstrerror;
+
+ # r*
+ res_init;
+ }
+}
+
+libresolv {
+ GLIBC_2.0 {
_gethtbyaddr; _gethtbyname; _gethtbyname2; _gethtent; _getlong;
_getshort; _res_opcodes; _res_resultcodes; _sethtent; dn_expand;
inet_net_ntop; inet_net_pton; inet_neta; res_gethostbyaddr;
@@ -19,7 +41,13 @@ GLIBC_2.0 {
__res_nameinquery; __res_ownok; __res_queriesmatch;
__res_send;
__sym_ntop; __sym_ntos; __sym_ston;
+ }
+}
- local:
- *;
-};
+libnss_dns {
+ GLIBC_2.0 {
+ _nss_dns_gethostbyaddr_r; _nss_dns_gethostbyname2_r;
+ _nss_dns_gethostbyname_r; _nss_dns_getnetbyaddr_r;
+ _nss_dns_getnetbyname_r;
+ }
+}
diff --git a/resolv/libnss_dns.map b/resolv/libnss_dns.map
deleted file mode 100644
index 423cdf98bb..0000000000
--- a/resolv/libnss_dns.map
+++ /dev/null
@@ -1,9 +0,0 @@
-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:
- *;
-};