]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add NT_PPC_PKEY from Linux 4.16 to elf.h.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 23 Apr 2018 19:41:09 +0000 (19:41 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 23 Apr 2018 19:41:09 +0000 (19:41 +0000)
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
elf/elf.h

index ef4e21e26d839fb44c5c06ad9623ce5a564623ec..ef5c0359bb71e677553cb42d7f133a0aae6a7742 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-04-23  Joseph Myers  <joseph@codesourcery.com>
+
+       * elf/elf.h (NT_PPC_PKEY): New macro.
+
 2018-04-23  Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
 
        [BZ #23094]
index f7748983c8de6136d5ea5847af6a89fa332a3fed..a5b2811ce05440f325e870282f37466bd8543ab2 100644 (file)
--- 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 */