This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add NT_PPC_PKEY from Linux 4.16 to elf.h


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]