From: Joseph Myers Date: Mon, 20 May 2019 11:51:58 +0000 (+0000) Subject: Add NT_ARM_PACA_KEYS and NT_ARM_PACG_KEYS from Linux 5.1 to elf.h. X-Git-Tag: glibc-2.30~146 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1388600877a8db404459682e9842cd55975409ba;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index da5cbd1dcce..a7185b64e26 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 a313c24b933..bb13c870e27 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. */