about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-04-23 19:41:09 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-04-23 19:41:09 +0000
commitda5e0361d981674fd7cd18dbeba2c0e718e90a16 (patch)
tree218c6c45e80df378188c39bc398c7196b8b36276
parent18ea73adaaea9882ab6983230cccc774db5d253d (diff)
downloadglibc-da5e0361d981674fd7cd18dbeba2c0e718e90a16.tar.gz
glibc-da5e0361d981674fd7cd18dbeba2c0e718e90a16.tar.xz
glibc-da5e0361d981674fd7cd18dbeba2c0e718e90a16.zip
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.
-rw-r--r--ChangeLog4
-rw-r--r--elf/elf.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ef4e21e26d..ef5c0359bb 100644
--- 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]
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 */