glibc/sysdeps/i386/nptl
H.J. Lu 9aa3113a42 x86: Rename __glibc_reserved2 to ssp_base in tcbhead_t
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.
2018-07-25 04:39:39 -07:00
..
Makefile i386: Drop -mpreferred-stack-boundary=4 2018-05-22 14:44:14 +02:00
pthread_spin_init.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pthread_spin_lock.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pthread_spin_unlock.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pthread-offsets.h nptl: Add tests for internal pthread_mutex_t offsets 2017-11-07 09:48:28 -02:00
pthreaddef.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tcb-offsets.sym x86: Rename __glibc_reserved2 to ssp_base in tcbhead_t 2018-07-25 04:39:39 -07:00
tls.h x86: Rename __glibc_reserved2 to ssp_base in tcbhead_t 2018-07-25 04:39:39 -07:00