]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add NT_ARM_PACA_KEYS and NT_ARM_PACG_KEYS from Linux 5.1 to elf.h.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 20 May 2019 11:51:58 +0000 (11:51 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 20 May 2019 11:51:58 +0000 (11:51 +0000)
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.

ChangeLog
elf/elf.h

index da5cbd1dcce4f8a847a1d9e12e47a3e0efa4694a..a7185b64e26fb039ab46a5bd65ece4be1b7a7f7f 100644 (file)
--- 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.
index a313c24b933847ddcaec4288fefe53a49687bd77..bb13c870e277d9020bc4ae5a104b48644e6c6838 100644 (file)
--- 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.  */