From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "H.J. Lu" Newsgroups: gmane.comp.lib.glibc.alpha Subject: [PATCH 0/2] nptl: Update struct pthread_unwind_buf Date: Thu, 1 Feb 2018 12:57:55 -0800 Message-ID: <20180201205757.51911-1-hjl.tools@gmail.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1517518571 4791 195.159.176.226 (1 Feb 2018 20:56:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 1 Feb 2018 20:56:11 +0000 (UTC) To: libc-alpha@sourceware.org Original-X-From: libc-alpha-return-89901-glibc-alpha=m.gmane.org@sourceware.org Thu Feb 01 21:56:07 2018 Return-path: Envelope-to: glibc-alpha@blaine.gmane.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=FsTr5JY8sD0j6N6QBi02iYVPmUa8bNXqV3OXrSmx+LVBwtZ3eVfTP EuGrpi4BZU5ASL/8m/2W9IDruAVdnrXxSKO8lmiceb/JKxM1cooYFqF/lzq3we2d JpEiknUl2eUdYlqCwnxEo8IkHF7ENXuiGN3l3iYdEoj7tZGSD5m2/Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; s=default; bh=8YrAP0v0BI8XaaKmTX88JvIHLME=; b=M9Ku6+OJSHn8vhWd+WnZ55Ba1kMP ZGTzO9oRKFGYQkvgyfjnrIROInIM+XOV9nlg76I6i08uxGZ2MPreMzJVm336IQDw twxErYiZl1BRep+OakqO5pG5S6frXyCU+DB2lpUaevxGZlMTTrHim1gj5Ilyi4Cz 6R1gSXMOAm3+/wY= Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Original-Sender: libc-alpha-owner@sourceware.org Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,GIT_PATCH_3,SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=H*MI:tools, H*m:tools X-HELO: mga09.intel.com X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 Xref: news.gmane.org gmane.comp.lib.glibc.alpha:82251 Archived-At: Received: from server1.sourceware.org ([209.132.180.131] helo=sourceware.org) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehLtn-0000V0-P2 for glibc-alpha@blaine.gmane.org; Thu, 01 Feb 2018 21:56:00 +0100 Received: (qmail 8429 invoked by alias); 1 Feb 2018 20:58:00 -0000 Received: (qmail 8395 invoked by uid 89); 1 Feb 2018 20:58:00 -0000 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