From: Joseph Myers Date: Mon, 23 Apr 2018 19:41:09 +0000 (+0000) Subject: Add NT_PPC_PKEY from Linux 4.16 to elf.h. X-Git-Tag: glibc-2.28~323 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=da5e0361d981674fd7cd18dbeba2c0e718e90a16;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index ef4e21e26d8..ef5c0359bb7 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 f7748983c8d..a5b2811ce05 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 */