summaryrefslogtreecommitdiff
path: root/elf/elf.h
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 /elf/elf.h
parent18ea73adaaea9882ab6983230cccc774db5d253d (diff)
downloadglibc-da5e0361d981674fd7cd18dbeba2c0e718e90a16.tar.gz
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.
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h2
1 files changed, 2 insertions, 0 deletions
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 */