diff mbox series

Add NT_ARM_TAGGED_ADDR_CTRL from Linux 5.10 to elf.h

Message ID alpine.DEB.2.22.394.2102042100270.1523919@digraph.polyomino.org.uk
State New
Headers show
Series Add NT_ARM_TAGGED_ADDR_CTRL from Linux 5.10 to elf.h | expand

Commit Message

Joseph Myers Feb. 4, 2021, 9 p.m. UTC
This patch adds the new NT_ARM_TAGGED_ADDR_CTRL constant from Linux
5.10 to glibc's elf.h.

Tested for x86_64.

Comments

Dmitry V. Levin Feb. 4, 2021, 10:18 p.m. UTC | #1
On Thu, Feb 04, 2021 at 09:00:50PM +0000, Joseph Myers wrote:
> This patch adds the new NT_ARM_TAGGED_ADDR_CTRL constant from Linux
> 5.10 to glibc's elf.h.
> 
> Tested for x86_64.
> 
> diff --git a/elf/elf.h b/elf/elf.h
> index 9ebd052c8a..4f838d4af2 100644
> --- a/elf/elf.h
> +++ b/elf/elf.h
> @@ -813,6 +813,8 @@ typedef struct
>  					   address keys.  */
>  #define NT_ARM_PACG_KEYS	0x408	/* ARM pointer authentication
>  					   generic key.  */
> +#define NT_ARM_TAGGED_ADDR_CTRL	0x409	/* AArch64 tagged address
> +					   control.  */
>  #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.  */

LGTM, thanks.

Just for the record, the new constant was introduced by Linux kernel
commit v5.10-rc1~49^2~9^2~7.
diff mbox series

Patch

diff --git a/elf/elf.h b/elf/elf.h
index 9ebd052c8a..4f838d4af2 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -813,6 +813,8 @@  typedef struct
 					   address keys.  */
 #define NT_ARM_PACG_KEYS	0x408	/* ARM pointer authentication
 					   generic key.  */
+#define NT_ARM_TAGGED_ADDR_CTRL	0x409	/* AArch64 tagged address
+					   control.  */
 #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.  */