glibc/sysdeps
Siddhesh Poyarekar 1c37b8022e Simplify allocations and fix merge and continue actions [BZ #28931]
Allocations for address tuples is currently a bit confusing because of
the pointer chasing through PAT, making it hard to observe the sequence
in which allocations have been made.  Narrow scope of the pointer
chasing through PAT so that it is only used where necessary.

This also tightens actions behaviour with the hosts database in
getaddrinfo to comply with the manual text.  The "continue" action
discards previous results and the "merge" action results in an immedate
lookup failure.  Consequently, chaining of allocations across modules is
no longer necessary, thus opening up cleanup opportunities.

A test has been added that checks some combinations to ensure that they
work correctly.

Resolves: BZ #28931

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: DJ Delorie <dj@redhat.com>
2022-03-22 19:38:36 +05:30
..
aarch64
alpha alpha: Remove bzero optimization 2022-02-23 14:06:49 -03:00
arc
arm
csky
generic elf: Remove LD_USE_LOAD_BIAS 2022-02-10 09:18:15 -03:00
gnu
hppa hppa: Fix warnings from _dl_lookup_address 2022-02-22 18:51:35 +00:00
htl htl: Fix initializing the key lock 2022-02-14 19:29:02 +01:00
hurd
i386 i686: Remove bzero optimizations 2022-02-23 14:18:18 -03:00
ia64 ia64: Remove bzero optimization 2022-02-23 14:18:17 -03:00
ieee754
m68k
mach
microblaze
mips
nios2
nptl
or1k
posix Simplify allocations and fix merge and continue actions [BZ #28931] 2022-03-22 19:38:36 +05:30
powerpc powerpc: Remove powerpc64 bzero optimizations 2022-02-23 14:18:18 -03:00
pthread pthread: Do not overwrite tests-time64 2022-03-07 10:02:54 -03:00
riscv
s390 s390: Remove bzero optimizations 2022-02-23 14:18:18 -03:00
sh
sparc sparc: Remove bzero optimization 2022-02-23 14:18:18 -03:00
unix hppa: Use END instead of PSEUDO_END in swapcontext.S 2022-03-15 23:04:39 +00:00
wordsize-32
wordsize-64
x86 x86: Fix TEST_NAME to make it a string in tst-strncmp-rtm.c 2022-02-18 15:24:50 -08:00
x86_64 x86_64: Fix svml_d_tanh8_core_avx512.S code formatting 2022-03-07 21:44:09 -08:00