about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2019-05-20 11:51:58 +0000
committerJoseph Myers <joseph@codesourcery.com>2019-05-20 11:51:58 +0000
commit1388600877a8db404459682e9842cd55975409ba (patch)
treef1f4a73ec130401a61c08ffa2a7d553d7c3db6b3
parent1f50f2ad854c84ead522bfc7331b46dbe6057d53 (diff)
downloadglibc-1388600877a8db404459682e9842cd55975409ba.tar.gz
glibc-1388600877a8db404459682e9842cd55975409ba.tar.xz
glibc-1388600877a8db404459682e9842cd55975409ba.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--elf/elf.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index da5cbd1dcc..a7185b64e2 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 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.  */