1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

resolv: Move ns_name_unpack to its own file and into libc

Reformat to GNU style. Avoid out-of-bounds buffer arithmetic.
Eliminate the labellen function.

The symbol was moved using scripts/move-symbol-to-libc.py.

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-15 08:28:50 +02:00
parent ee3639e0fe
commit 820bb23ff0
69 changed files with 187 additions and 115 deletions

View File

@ -1341,6 +1341,7 @@ GLIBC_2.33 nl_langinfo_l F
GLIBC_2.33 nrand48 F
GLIBC_2.33 nrand48_r F
GLIBC_2.33 ns_name_ntop F
GLIBC_2.33 ns_name_unpack F
GLIBC_2.33 ntohl F
GLIBC_2.33 ntohs F
GLIBC_2.33 ntp_adjtime F
@ -2215,6 +2216,7 @@ GLIBC_2.34 mtx_timedlock F
GLIBC_2.34 mtx_trylock F
GLIBC_2.34 mtx_unlock F
GLIBC_2.34 ns_name_ntop F
GLIBC_2.34 ns_name_unpack F
GLIBC_2.34 openpty F
GLIBC_2.34 posix_spawn_file_actions_addclosefrom_np F
GLIBC_2.34 pthread_attr_getaffinity_np F

View File

@ -65,7 +65,6 @@ GLIBC_2.33 ns_name_pton F
GLIBC_2.33 ns_name_rollback F
GLIBC_2.33 ns_name_skip F
GLIBC_2.33 ns_name_uncompress F
GLIBC_2.33 ns_name_unpack F
GLIBC_2.33 ns_parse_ttl F
GLIBC_2.33 ns_parserr F
GLIBC_2.33 ns_put16 F

View File

@ -1388,6 +1388,7 @@ GLIBC_2.27 nl_langinfo_l F
GLIBC_2.27 nrand48 F
GLIBC_2.27 nrand48_r F
GLIBC_2.27 ns_name_ntop F
GLIBC_2.27 ns_name_unpack F
GLIBC_2.27 ntohl F
GLIBC_2.27 ntohs F
GLIBC_2.27 ntp_adjtime F
@ -2415,6 +2416,7 @@ GLIBC_2.34 mtx_timedlock F
GLIBC_2.34 mtx_trylock F
GLIBC_2.34 mtx_unlock F
GLIBC_2.34 ns_name_ntop F
GLIBC_2.34 ns_name_unpack F
GLIBC_2.34 openpty F
GLIBC_2.34 posix_spawn_file_actions_addclosefrom_np F
GLIBC_2.34 pthread_attr_getaffinity_np F

View File

@ -65,7 +65,6 @@ GLIBC_2.27 ns_name_pton F
GLIBC_2.27 ns_name_rollback F
GLIBC_2.27 ns_name_skip F
GLIBC_2.27 ns_name_uncompress F
GLIBC_2.27 ns_name_unpack F
GLIBC_2.27 ns_parse_ttl F
GLIBC_2.27 ns_parserr F
GLIBC_2.27 ns_put16 F