mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-28 05:21:13 +00:00
9aa3113a42
This will be used to record the current shadow stack base for shadow stack switching by getcontext, makecontext, setcontext and swapcontext. If the target shadow stack base is the same as the current shadow stack base, we unwind the shadow stack. Otherwise it is a stack switch and we look for a restore token to restore the target shadow stack. * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New. * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2 with ssp_base. * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New. * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2 with ssp_base. |
||
---|---|---|
.. | ||
Makefile | ||
pthread_spin_init.c | ||
pthread_spin_lock.S | ||
pthread_spin_unlock.S | ||
pthread-offsets.h | ||
pthreaddef.h | ||
tcb-offsets.sym | ||
tls.h |