glibc/sysdeps/nptl
Florian Weimer f79f206581 nptl: Move legacy unwinding implementation into libc
It is still used internally.  Since unwinding is now available
unconditionally, avoid indirect calls through function pointers loaded
from the stack by inlining the non-cancellation cleanup code.  This
avoids a regression in security hardening.

The out-of-line  __libc_cleanup_routine implementation is no longer
needed because the inline definition is now static __always_inline.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2021-04-21 19:49:50 +02:00
..
bits Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sys Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
aio_misc.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
dl-thread_gscope_wait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
dl-tunables.list Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fork.c fork.h: replace with register-atfork.h 2021-03-29 21:41:09 +02:00
futex-internal.h nptl: Move futex-internal into libc 2021-02-22 18:30:52 +01:00
gai_misc.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Implies Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
internaltypes.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
jmp-unwind.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
libc-lock.h nptl: Move legacy unwinding implementation into libc 2021-04-21 19:49:50 +02:00
libc-lockP.h nptl: Move legacy unwinding implementation into libc 2021-04-21 19:49:50 +02:00
librt-cancellation.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
lowlevellock-futex.h nptl: Remove private futex optimization [BZ #27304] 2021-02-04 15:00:20 +01:00
lowlevellock.h nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
Makeconfig Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Makefile nptl: Move futex-internal.c into main nptl directory 2021-02-22 18:30:52 +01:00
malloc-machine.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
proc_service.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread-functions.h nptl: Move legacy unwinding implementation into libc 2021-04-21 19:49:50 +02:00
pthread-offsets.h nptl: update default pthread-offsets.h 2020-02-10 17:01:21 +01:00
pthread.h nptl: Move pthread_mutex_consistent into libc 2021-04-21 19:49:50 +02:00
setxid.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
stdio-lock.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Subdirs Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
tcb-offsets.h Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
thrd_create.c C11 threads: Move implementation to sysdeps/pthread 2020-02-09 13:56:48 +01:00
thread_db.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
timer_routines.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mqueue8x.c Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
unwind-forcedunwind.c nptl: Use <unwind-link.h> for accessing the libgcc_s unwinder 2021-03-01 16:00:22 +01:00