Add NT_ARM_PAC_ENABLED_KEYS to elf.h
authorJoseph Myers <joseph@codesourcery.com>
Thu, 8 Jul 2021 17:36:27 +0000 (17:36 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 8 Jul 2021 17:36:27 +0000 (17:36 +0000)
This patch adds the new NT_ARM_PAC_ENABLED_KEYS constant from Linux
5.13 to glibc's elf.h.

Tested for x86_64.

elf/elf.h

index 2a62b98..4738dfa 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -816,6 +816,8 @@ typedef struct
                                           generic key.  */
 #define NT_ARM_TAGGED_ADDR_CTRL        0x409   /* AArch64 tagged address
                                           control.  */
+#define NT_ARM_PAC_ENABLED_KEYS        0x40a   /* AArch64 pointer authentication
+                                          enabled keys.  */
 #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.  */