glibc/sysdeps/unix/sysv/linux/arm
Siddhesh Poyarekar 0552fd2c7d Move malloc_{g,s}et_state to libc_malloc_debug
These deprecated functions are only safe to call from
__malloc_initialize_hook and as a result, are not useful in the
general case.  Move the implementations to libc_malloc_debug so that
existing binaries that need it will now have to preload the debug DSO
to work correctly.

This also allows simplification of the core malloc implementation by
dropping all the undumping support code that was added to make
malloc_set_state work.

One known breakage is that of ancient emacs binaries that depend on
this.  They will now crash when running with this libc.  With
LD_BIND_NOW=1, it will terminate immediately because of not being able
to find malloc_set_state but with lazy binding it will crash in
unpredictable ways.  It will need a preloaded libc_malloc_debug.so so
that its initialization hook is executed to allow its malloc
implementation to work properly.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
2021-07-22 18:38:10 +05:30
..
be Move malloc_{g,s}et_state to libc_malloc_debug 2021-07-22 18:38:10 +05:30
bits
le Move malloc_{g,s}et_state to libc_malloc_debug 2021-07-22 18:38:10 +05:30
sys
Implies
Makefile nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
Versions
____longjmp_chk.S arm: Fix an incorrect check in ____longjmp_chk [BZ #27709] 2021-04-12 14:28:07 +01:00
aeabi_read_tp.S
arch-syscall.h Update syscall lists for Linux 5.13 2021-07-01 17:37:36 +00:00
arm-features.h
atomic-machine.h
c++-types.data
clone.S arm: align stack in clone [BZ 28020] 2021-06-28 11:35:44 +01:00
dl-cache.h
dl-machine.h
dl-procinfo.c
dl-procinfo.h
fixup-asm-unistd.h
getcontext.S
ioperm.c
jmp_buf-macros.h
kernel-features.h
kernel_stat.h
ldconfig.h
ldsodefs.h
libc-do-syscall.S
libc_sigaction.c signal: Add __libc_sigaction 2021-03-18 15:54:39 -03:00
localplt.data mtrace: Wean away from malloc hooks 2021-07-22 18:38:06 +05:30
makecontext.c
profil-counter.h
readelflib.c
register-dump.h
setcontext.S
shlib-versions
sigcontextinfo.h
sigrestorer.S
swapcontext.S
syscall.S
syscalls.list linux: Consolidate Linux setsockopt implementation 2021-07-06 11:45:35 -03:00
sysdep.S
sysdep.h
time64-compat.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
tls.h
ucontext_i.sym
vfork.S