mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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>
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user