This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
[glibc/zack/no-nested-includes] Add NT_ARM_PACA_KEYS and NT_ARM_PACG_KEYS from Linux 5.1 to elf.h.
- From: Zack Weinberg <zack at sourceware dot org>
- To: glibc-cvs at sourceware dot org
- Date: 26 May 2019 16:34:29 -0000
- Subject: [glibc/zack/no-nested-includes] Add NT_ARM_PACA_KEYS and NT_ARM_PACG_KEYS from Linux 5.1 to elf.h.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1388600877a8db404459682e9842cd55975409ba
commit 1388600877a8db404459682e9842cd55975409ba
Author: Joseph Myers <joseph@codesourcery.com>
Date: Mon May 20 11:51:58 2019 +0000
Add NT_ARM_PACA_KEYS and NT_ARM_PACG_KEYS from Linux 5.1 to elf.h.
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.
* elf/elf.h (NT_ARM_PACA_KEYS): New macro.
(NT_ARM_PACG_KEYS): Likewise.
Diff:
---
ChangeLog | 5 +++++
elf/elf.h | 4 ++++
2 files changed, 9 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index da5cbd1..a7185b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-05-20 Joseph Myers <joseph@codesourcery.com>
+
+ * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
+ (NT_ARM_PACG_KEYS): Likewise.
+
2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
* malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
diff --git a/elf/elf.h b/elf/elf.h
index a313c24..bb13c87 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. */