From 1388600877a8db404459682e9842cd55975409ba Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 20 May 2019 11:51:58 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ elf/elf.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index da5cbd1dcc..a7185b64e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-05-20 Joseph Myers + + * elf/elf.h (NT_ARM_PACA_KEYS): New macro. + (NT_ARM_PACG_KEYS): Likewise. + 2019-05-17 Wilco Dijkstra * 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. */ -- 2.43.5