glibc/sysdeps/unix/sysv/linux/mips
Siddhesh Poyarekar 2d2d9f2b48 Move malloc hooks into a compat DSO
Remove all malloc hook uses from core malloc functions and move it
into a new library libc_malloc_debug.so.  With this, the hooks now no
longer have any effect on the core library.

libc_malloc_debug.so is a malloc interposer that needs to be preloaded
to get hooks functionality back so that the debugging features that
depend on the hooks, i.e. malloc-check, mcheck and mtrace work again.
Without the preloaded DSO these debugging features will be nops.
These features will be ported away from hooks in subsequent patches.

Similarly, legacy applications that need hooks functionality need to
preload libc_malloc_debug.so.

The symbols exported by libc_malloc_debug.so are maintained at exactly
the same version as libc.so.

Finally, static binaries will no longer be able to use malloc
debugging features since they cannot preload the debugging DSO.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
2021-07-22 18:37:59 +05:30
..
bits Define PTHREAD_STACK_MIN to sysconf(_SC_THREAD_STACK_MIN) 2021-07-09 15:10:35 -07:00
mips32 Move malloc hooks into a compat DSO 2021-07-22 18:37:59 +05:30
mips64 Move malloc hooks into a compat DSO 2021-07-22 18:37:59 +05:30
sys Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
____longjmp_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
_test_and_set.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
clone.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
configure Replace Minumum/minumum with Minimum/minimum 2020-10-06 05:15:11 -07:00
configure.ac Replace Minumum/minumum with Minimum/minimum 2020-10-06 05:15:11 -07:00
dl-cache.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
errlist-compat.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fxstat.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getcontext.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getrlimit64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Implies
kernel-features.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
kernel_rt_sigframe.h
kernel_sigaction.h
kernel_stat.h linux: Use statx for MIPSn64 2021-03-29 10:22:13 -03:00
kernel_termios.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ldsodefs.h mips: Remove _dl_var_init 2021-05-17 10:08:14 +02:00
libc-abis MIPS support for GNU hash 2019-08-29 20:11:42 +00:00
lxstat.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
makecontext.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Makefile mips: Remove _dl_var_init 2021-05-17 10:08:14 +02:00
mmap_info.h posix: Fix large mmap64 offset for mips64n32 (BZ#24699) 2019-07-10 16:52:50 -03:00
pipe.S
readelflib.c ldconfig/x86: Store ISA level in cache and aux cache 2021-01-13 05:51:17 -08:00
register-dump.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setcontext.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setrlimit64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
shlib-versions Move malloc hooks into a compat DSO 2021-07-22 18:37:59 +05:30
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
socket-constants-time64.h linux: Add fallback for 64-bit time_t SO_TIMESTAMP{NS} 2021-06-15 10:42:06 -03:00
struct_kernel_msqid64_ds.h sysv: linux: Add 64-bit time_t variant for msgctl 2020-07-09 12:05:40 -03:00
struct_kernel_semid64_ds.h sysv: linux: Add 64-bit time_t variant for semctl 2020-07-09 12:05:35 -03:00
struct_kernel_shmid64_ds.h sysv: linux: Add 64-bit time_t variant for shmctl 2020-07-09 12:05:47 -03:00
swapcontext.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
syscalls.list linux: Consolidate Linux setsockopt implementation 2021-07-06 11:45:35 -03:00
sysdep.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ucontext_i.sym
ustat.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Versions Add missing symbols to Version files 2021-06-02 07:32:19 +02:00
vfork.S Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
xstat.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
xstatconv.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
xstatver.h Remove mknod wrapper functions, move them to symbols 2020-10-09 17:02:06 -03:00