diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-07-15 08:28:50 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-07-15 09:00:27 +0200 |
commit | 820bb23ff074db8255217ab01b51f28c96ec76a9 (patch) | |
tree | 14bb3922ac81a76d8f2124215682644a4a05e96c /sysdeps/unix/sysv/linux/m68k | |
parent | ee3639e0fe61a3692adf660e04f9e6d56475ff52 (diff) | |
download | glibc-820bb23ff074db8255217ab01b51f28c96ec76a9.tar glibc-820bb23ff074db8255217ab01b51f28c96ec76a9.tar.gz glibc-820bb23ff074db8255217ab01b51f28c96ec76a9.tar.bz2 glibc-820bb23ff074db8255217ab01b51f28c96ec76a9.zip |
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>
Diffstat (limited to 'sysdeps/unix/sysv/linux/m68k')
4 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist index d7947c02ff..4036b8c739 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist @@ -347,6 +347,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 @@ -2662,4 +2663,5 @@ GLIBC_2.9 dup3 F GLIBC_2.9 epoll_create1 F GLIBC_2.9 inotify_init1 F GLIBC_2.9 ns_name_ntop F +GLIBC_2.9 ns_name_unpack F GLIBC_2.9 pipe2 F diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist index 1f2d60151f..b65f928a24 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist @@ -77,7 +77,6 @@ GLIBC_2.9 ns_name_pton F GLIBC_2.9 ns_name_rollback F GLIBC_2.9 ns_name_skip F GLIBC_2.9 ns_name_uncompress F -GLIBC_2.9 ns_name_unpack F GLIBC_2.9 ns_parse_ttl F GLIBC_2.9 ns_parserr F GLIBC_2.9 ns_put16 F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist index 9c72652d55..fb9964f928 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist @@ -2558,6 +2558,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 @@ -2824,4 +2825,5 @@ GLIBC_2.9 dup3 F GLIBC_2.9 epoll_create1 F GLIBC_2.9 inotify_init1 F GLIBC_2.9 ns_name_ntop F +GLIBC_2.9 ns_name_unpack F GLIBC_2.9 pipe2 F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist index 14c65c7a46..65c4147299 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist @@ -82,7 +82,6 @@ GLIBC_2.9 ns_name_pton F GLIBC_2.9 ns_name_rollback F GLIBC_2.9 ns_name_skip F GLIBC_2.9 ns_name_uncompress F -GLIBC_2.9 ns_name_unpack F GLIBC_2.9 ns_parse_ttl F GLIBC_2.9 ns_parserr F GLIBC_2.9 ns_put16 F |