glibc/sysdeps
Siddhesh Poyarekar b5bd5bfe88 glibc.malloc.check: Wean away from malloc hooks
The malloc-check debugging feature is tightly integrated into glibc
malloc, so thanks to an idea from Florian Weimer, much of the malloc
implementation has been moved into libc_malloc_debug.so to support
malloc-check.  Due to this, glibc malloc and malloc-check can no
longer work together; they use altogether different (but identical)
structures for heap management.  This should not make a difference
though since the malloc check hook is not disabled anywhere.
malloc_set_state does, but it does so early enough that it shouldn't
cause any problems.

The malloc check tunable is now in the debug DSO and has no effect
when the DSO is not preloaded.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
2021-07-22 18:38:08 +05:30
..
aarch64 glibc.malloc.check: Wean away from malloc hooks 2021-07-22 18:38:08 +05:30
alpha
arc ARC: elf: make type safe 2021-07-21 13:13:45 -07:00
arm
csky
generic mtrace: Wean away from malloc hooks 2021-07-22 18:38:06 +05:30
gnu
hppa
htl htl: Do not expose pthread hidden proto outside libpthread 2021-07-18 20:25:33 +00:00
hurd
i386 mcheck: Align struct hdr to MALLOC_ALIGNMENT bytes [BZ #28068] 2021-07-12 18:13:32 -07:00
ia64
ieee754
m68k
mach glibc.malloc.check: Wean away from malloc hooks 2021-07-22 18:38:08 +05:30
microblaze
mips
nios2
nptl Reduce <limits.h> pollution due to dynamic PTHREAD_STACK_MIN 2021-07-12 18:43:32 +02:00
posix posix: Add sysconf(_SC_{MIN,}SIGSTKSZ) support 2021-07-22 01:24:52 +02:00
powerpc
pthread Move malloc hooks into a compat DSO 2021-07-22 18:37:59 +05:30
riscv RISC-V: Update rv64 ULPs 2021-07-21 08:44:09 +02:00
s390
sh
sparc
unix glibc.malloc.check: Wean away from malloc hooks 2021-07-22 18:38:08 +05:30
wordsize-32
wordsize-64
x86 elf: Fix tst-cpu-features-cpuinfo on some AMD systems (BZ #28090) 2021-07-19 14:12:29 -03:00
x86_64 mtrace: Wean away from malloc hooks 2021-07-22 18:38:06 +05:30