From patchwork Thu May 16 23:09:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 1100784 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-102073-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="yH6qdiCG"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 454nDs55sQz9s7h for ; Fri, 17 May 2019 09:09:33 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=IGfCUmq88jSbbzYBl49EoqScw/Bt3 rYBichIHOtJNYH6YSTo1zztVTS1/RL2WrkiKCZT8zc/RfiGCjtYbI1M9F3uzXEet aP2JUPRkcoV80gkvkWA/3IQtFtOXHEXnaMUlery6OSL1ZuZTo7rzwk4IzhfxSy/p 3gUFeQsd2IG5ms= 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:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=W3sIZzDmAxEwSp8OX80G12sQlI0=; b=yH6 qdiCGDP8I9NvZTwFdXOpTkC4L0Pmhlf9c/OL7Qo2BNm2q1bgDX1oUvXdbGC+BW9c ItaJY0YTxKdpPEaWltgluAf2nv/WJlsJK8S2POVPOSD1zVwzLU+j4jRjqTWnTBNM zu3OL4EnAT+2QRr/KAoDzKJqm9WTvQRCYyVuQv3Y= Received: (qmail 48236 invoked by alias); 16 May 2019 23:09:27 -0000 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: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 48227 invoked by uid 89); 16 May 2019 23:09:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=Device, device X-HELO: relay1.mentorg.com Date: Thu, 16 May 2019 23:09:20 +0000 From: Joseph Myers To: Subject: Add NT_ARM_PACA_KEYS and NT_ARM_PACG_KEYS from Linux 5.1 to elf.h Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 This patch adds the new NT_ARM_PACA_KEYS and NT_ARM_PACG_KEYS from Linux 5.1 to glibc's elf.h. Tested for x86_64. 2019-05-16 Joseph Myers * elf/elf.h (NT_ARM_PACA_KEYS): New macro. (NT_ARM_PACG_KEYS): Likewise. diff --git a/elf/elf.h b/elf/elf.h index a313c24b93..bb13c870e2 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -811,6 +811,10 @@ typedef struct registers */ #define NT_ARM_PAC_MASK 0x406 /* ARM pointer authentication code masks. */ +#define NT_ARM_PACA_KEYS 0x407 /* ARM pointer authentication + address keys. */ +#define NT_ARM_PACG_KEYS 0x408 /* ARM pointer authentication + generic key. */ #define NT_VMCOREDD 0x700 /* Vmcore Device Dump Note. */ #define NT_MIPS_DSP 0x800 /* MIPS DSP ASE registers. */ #define NT_MIPS_FP_MODE 0x801 /* MIPS floating-point mode. */