Add NT_ARM_PACA_KEYS and NT_ARM_PACG_KEYS from Linux 5.1 to elf.h
Commit Message
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.
2019-05-16 Joseph Myers <joseph@codesourcery.com>
* elf/elf.h (NT_ARM_PACA_KEYS): New macro.
(NT_ARM_PACG_KEYS): Likewise.
Comments
* Joseph Myers:
> +#define NT_ARM_PACA_KEYS 0x407 /* ARM pointer authentication
> + address keys. */
> +#define NT_ARM_PACG_KEYS 0x408 /* ARM pointer authentication
> + generic key. */
Looks good to me. The numbers match what's in the current Linux source
tree.
Thanks,
Florian
@@ -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. */