unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Add NT_ARM_PAC_ENABLED_KEYS to elf.h
@ 2021-07-08 16:56 Joseph Myers
  2021-07-08 17:34 ` Adhemerval Zanella via Libc-alpha
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2021-07-08 16:56 UTC (permalink / raw)
  To: libc-alpha

This patch adds the new NT_ARM_PAC_ENABLED_KEYS constant from Linux
5.13 to glibc's elf.h.

Tested for x86_64.

diff --git a/elf/elf.h b/elf/elf.h
index 2a62b98d4a..4738dfa28f 100644
--- 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.  */

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Add NT_ARM_PAC_ENABLED_KEYS to elf.h
  2021-07-08 16:56 Add NT_ARM_PAC_ENABLED_KEYS to elf.h Joseph Myers
@ 2021-07-08 17:34 ` Adhemerval Zanella via Libc-alpha
  0 siblings, 0 replies; 2+ messages in thread
From: Adhemerval Zanella via Libc-alpha @ 2021-07-08 17:34 UTC (permalink / raw)
  To: Joseph Myers, libc-alpha



On 08/07/2021 13:56, Joseph Myers wrote:
> This patch adds the new NT_ARM_PAC_ENABLED_KEYS constant from Linux
> 5.13 to glibc's elf.h.
> 
> Tested for x86_64.

LGTM, thanks.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

> 
> diff --git a/elf/elf.h b/elf/elf.h
> index 2a62b98d4a..4738dfa28f 100644
> --- 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.  */
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-08 17:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08 16:56 Add NT_ARM_PAC_ENABLED_KEYS to elf.h Joseph Myers
2021-07-08 17:34 ` Adhemerval Zanella via Libc-alpha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).