about summary refs log tree commit diff
path: root/elf/elf.h
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 /elf/elf.h
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.
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h4
1 files changed, 4 insertions, 0 deletions
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.  */