This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/2] nptl: Update struct pthread_unwind_buf
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Thu, 1 Feb 2018 12:57:55 -0800
- Subject: [PATCH 0/2] nptl: Update struct pthread_unwind_buf
- Authentication-results: sourceware.org; auth=none
struct pthread_unwind_buf is updated to save and restore shadow stack
register with backward binary compatibility.
H.J. Lu (2):
Revert "Revert Intel CET changes to __jmp_buf_tag (Bug 22743)"
nptl: Update struct pthread_unwind_buf [BZ #22743]
bits/types/__cancel_jmp_buf_tag.h | 28 ++++++++
csu/libc-start.c | 6 +-
nptl/Makefile | 3 +-
nptl/cleanup.c | 9 ++-
nptl/cleanup_defer.c | 16 +++--
nptl/descr.h | 78 +++++++++++++++++-----
nptl/pthread_create.c | 9 ++-
nptl/unwind.c | 6 +-
sysdeps/i386/nptl/tcb-offsets.sym | 1 +
sysdeps/i386/nptl/tls.h | 4 ++
sysdeps/nptl/pthread.h | 7 +-
sysdeps/unix/sysv/linux/hppa/pthread.h | 7 +-
.../linux/x86/bits/types/__cancel_jmp_buf_tag.h | 31 +++++++++
sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h | 36 ++++++++++
sysdeps/unix/sysv/linux/x86/pthreaddef.h | 36 ++++++++++
sysdeps/x86_64/nptl/tcb-offsets.sym | 1 +
sysdeps/x86_64/nptl/tls.h | 5 +-
17 files changed, 238 insertions(+), 45 deletions(-)
create mode 100644 bits/types/__cancel_jmp_buf_tag.h
create mode 100644 sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
create mode 100644 sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h
create mode 100644 sysdeps/unix/sysv/linux/x86/pthreaddef.h
--
2.14.3