aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorDave Martin <[email protected]>2020-03-16 16:50:43 +0000
committerCatalin Marinas <[email protected]>2020-03-16 17:19:48 +0000
commitdb751e309ff05461a0c8e114b1238d7a69cc1f18 (patch)
tree6f5f75e7936f4e120d4f8abf7c6e22a7bf31b19b /include/uapi/linux
parentf8788d86ab28f61f7b46eb6be375f8a726783636 (diff)
ELF: UAPI and Kconfig additions for ELF program properties
Pull the basic ELF definitions relating to the NT_GNU_PROPERTY_TYPE_0 note from Yu-Cheng Yu's earlier x86 shstk series. Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Dave Martin <[email protected]> Signed-off-by: Yu-cheng Yu <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/elf.h b/include/uapi/linux/elf.h
index 34c02e4290fe..c37731407074 100644
--- a/include/uapi/linux/elf.h
+++ b/include/uapi/linux/elf.h
@@ -36,6 +36,7 @@ typedef __s64 Elf64_Sxword;
#define PT_LOPROC 0x70000000
#define PT_HIPROC 0x7fffffff
#define PT_GNU_EH_FRAME 0x6474e550
+#define PT_GNU_PROPERTY 0x6474e553
#define PT_GNU_STACK (PT_LOOS + 0x474e551)