1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

resolv: Rename res_comp.c to res-name-checking.c and move into libc

This reflects what the remaining functions in the file do.

The __res_dnok, __res_hnok, __res_mailok, __res_ownok were moved
with the script, using --no-new-version, and turned into compat
symbols.  __libc_res_dnok@@GLIBC_PRIVATE and
__libc_res_hnok@@GLIBC_PRIVATE are added for internal use, to avoid
accidentally binding to compatibility symbols.  The new public
symbols res_dnok, res_hnok, res_mailok, res_ownok were added using
make update-all-abi.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
Florian Weimer
2021-07-19 07:55:27 +02:00
parent 391e02236b
commit 2fbe5860d3
69 changed files with 309 additions and 153 deletions

View File

@@ -210,6 +210,10 @@ GLIBC_2.0 __register_frame F
GLIBC_2.0 __register_frame_info F
GLIBC_2.0 __register_frame_info_table F
GLIBC_2.0 __register_frame_table F
GLIBC_2.0 __res_dnok F
GLIBC_2.0 __res_hnok F
GLIBC_2.0 __res_mailok F
GLIBC_2.0 __res_ownok F
GLIBC_2.0 __res_randomid F
GLIBC_2.0 __sbrk F
GLIBC_2.0 __sched_get_priority_max F
@@ -2678,6 +2682,10 @@ GLIBC_2.34 pthread_spin_unlock F
GLIBC_2.34 pthread_testcancel F
GLIBC_2.34 pthread_timedjoin_np F
GLIBC_2.34 pthread_tryjoin_np F
GLIBC_2.34 res_dnok F
GLIBC_2.34 res_hnok F
GLIBC_2.34 res_mailok F
GLIBC_2.34 res_ownok F
GLIBC_2.34 sem_clockwait F
GLIBC_2.34 sem_close F
GLIBC_2.34 sem_destroy F

View File

@@ -22,12 +22,8 @@ GLIBC_2.0 __p_type_syms D 0x228
GLIBC_2.0 __putlong F
GLIBC_2.0 __putshort F
GLIBC_2.0 __res_close F
GLIBC_2.0 __res_dnok F
GLIBC_2.0 __res_hnok F
GLIBC_2.0 __res_isourserver F
GLIBC_2.0 __res_mailok F
GLIBC_2.0 __res_nameinquery F
GLIBC_2.0 __res_ownok F
GLIBC_2.0 __res_queriesmatch F
GLIBC_2.0 __res_send F
GLIBC_2.0 __sym_ntop F

View File

@@ -4,6 +4,10 @@ GCC_3.0 __register_frame_info_bases F
GCC_3.0 __register_frame_info_table_bases F
GLIBC_2.0 __dn_comp F
GLIBC_2.0 __dn_skipname F
GLIBC_2.0 __res_dnok F
GLIBC_2.0 __res_hnok F
GLIBC_2.0 __res_mailok F
GLIBC_2.0 __res_ownok F
GLIBC_2.0 dladdr F
GLIBC_2.0 dlclose F
GLIBC_2.0 dlerror F
@@ -2513,6 +2517,10 @@ GLIBC_2.34 pthread_spin_unlock F
GLIBC_2.34 pthread_testcancel F
GLIBC_2.34 pthread_timedjoin_np F
GLIBC_2.34 pthread_tryjoin_np F
GLIBC_2.34 res_dnok F
GLIBC_2.34 res_hnok F
GLIBC_2.34 res_mailok F
GLIBC_2.34 res_ownok F
GLIBC_2.34 sem_clockwait F
GLIBC_2.34 sem_close F
GLIBC_2.34 sem_destroy F

View File

@@ -22,12 +22,8 @@ GLIBC_2.0 __p_type_syms D 0x450
GLIBC_2.0 __putlong F
GLIBC_2.0 __putshort F
GLIBC_2.0 __res_close F
GLIBC_2.0 __res_dnok F
GLIBC_2.0 __res_hnok F
GLIBC_2.0 __res_isourserver F
GLIBC_2.0 __res_mailok F
GLIBC_2.0 __res_nameinquery F
GLIBC_2.0 __res_ownok F
GLIBC_2.0 __res_queriesmatch F
GLIBC_2.0 __res_send F
GLIBC_2.0 __sym_ntop F