Message ID | alpine.DEB.2.20.1804192014380.7275@digraph.polyomino.org.uk |
---|---|
State | New |
Headers | show |
Series | Add NT_PPC_PKEY from Linux 4.16 to elf.h | expand |
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>
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 */