This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Add NT_PPC_PKEY from Linux 4.16 to elf.h
- From: Tulio Magno Quites Machado Filho <tuliom at linux dot ibm dot com>
- To: Joseph Myers <joseph at codesourcery dot com>, libc-alpha at sourceware dot org
- Cc:
- Date: Mon, 23 Apr 2018 15:55:14 -0300
- Subject: Re: Add NT_PPC_PKEY from Linux 4.16 to elf.h
- References: <alpine.DEB.2.20.1804192014380.7275@digraph.polyomino.org.uk>
Joseph Myers <joseph@codesourcery.com> writes:
> This patch adds the NT_PPC_PKEY macro from Linux 4.16 to elf.h.
>
> Tested for x86_64.
>
> 2018-04-19 Joseph Myers <joseph@codesourcery.com>
>
> * elf/elf.h (NT_PPC_PKEY): New macro.
>
> diff --git a/elf/elf.h b/elf/elf.h
> index f774898..a5b2811 100644
> --- a/elf/elf.h
> +++ b/elf/elf.h
> @@ -780,6 +780,8 @@ typedef struct
> Register */
> #define NT_PPC_TM_CDSCR 0x10f /* TM checkpointed Data Stream Control
> Register */
> +#define NT_PPC_PKEY 0x110 /* Memory Protection Keys
> + registers. */
> #define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */
> #define NT_386_IOPERM 0x201 /* x86 io permission bitmap (1=deny) */
> #define NT_X86_XSTATE 0x202 /* x86 extended state using xsave */
Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
--
Tulio Magno