From da5e0361d981674fd7cd18dbeba2c0e718e90a16 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 23 Apr 2018 19:41:09 +0000 Subject: [PATCH] Add NT_PPC_PKEY from Linux 4.16 to elf.h. This patch adds the NT_PPC_PKEY macro from Linux 4.16 to elf.h. Tested for x86_64. * elf/elf.h (NT_PPC_PKEY): New macro. --- ChangeLog | 4 ++++ elf/elf.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index ef4e21e26d..ef5c0359bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-04-23 Joseph Myers + + * elf/elf.h (NT_PPC_PKEY): New macro. + 2018-04-23 Dragan Stanojevic - Nevidljivi [BZ #23094] diff --git a/elf/elf.h b/elf/elf.h index f7748983c8..a5b2811ce0 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 */