about summary refs log tree commit diff
path: root/resolv/Versions
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-07-19 07:55:27 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-07-19 07:56:21 +0200
commitbe5773e1668ab62e980b58c68c3ffd0fd65e31af (patch)
tree5f96d76963ac508f60bb24742c20424fdbdfe0c2 /resolv/Versions
parent7131727c6ba451e1c5bf075194c7adc9292906c4 (diff)
downloadglibc-be5773e1668ab62e980b58c68c3ffd0fd65e31af.tar.gz
glibc-be5773e1668ab62e980b58c68c3ffd0fd65e31af.tar.xz
glibc-be5773e1668ab62e980b58c68c3ffd0fd65e31af.zip
resolv: Move __res_context_hostalias into its own file and into libc
And reformat it to GNU style.  Remove the unecessary setbuf call.
Use __fgets_unlocked for PLT avoidance; no locking is required here.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'resolv/Versions')
-rw-r--r--resolv/Versions2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/Versions b/resolv/Versions
index 5bbda96230..b084660dde 100644
--- a/resolv/Versions
+++ b/resolv/Versions
@@ -85,6 +85,7 @@ libc {
     __ns_name_skip;
     __ns_name_uncompress;
     __ns_name_unpack;
+    __res_context_hostalias;
     __res_get_nsaddr;
     __res_iclose;
     __resolv_context_get;
@@ -192,7 +193,6 @@ libresolv {
   GLIBC_PRIVATE {
     __ns_get16;
     __ns_get32;
-    __res_context_hostalias;
     __res_context_query;
     __res_context_search;
   }