diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-06-14 09:52:06 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-07-27 14:29:22 -0400 |
commit | 16aead81018ca404efe9bd928786824e7168151f (patch) | |
tree | fac0eb07b60db4dc0f29d4d11b9290cb189bbb84 /include/linux/elfcore-compat.h | |
parent | 1e6b57d6421f0343dd11619612e5ff8930cddf38 (diff) | |
download | lwn-16aead81018ca404efe9bd928786824e7168151f.tar.gz lwn-16aead81018ca404efe9bd928786824e7168151f.zip |
take fdpic-related parts of elf_prstatus out
The only architecture where we might end up using both is arm,
and there we definitely don't want fdpic-related fields in
elf_prstatus - coredump layout of ELF binaries should not
depend upon having the kernel built with the support of ELF_FDPIC
ones. Just move the fdpic-modified variant into binfmt_elf_fdpic.c
(and call it elf_prstatus_fdpic there)
[name stolen from nico]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/elfcore-compat.h')
-rw-r--r-- | include/linux/elfcore-compat.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/elfcore-compat.h b/include/linux/elfcore-compat.h index 7a37f4ce9fd2..10485f0c9740 100644 --- a/include/linux/elfcore-compat.h +++ b/include/linux/elfcore-compat.h @@ -32,10 +32,6 @@ struct compat_elf_prstatus struct old_timeval32 pr_cutime; struct old_timeval32 pr_cstime; compat_elf_gregset_t pr_reg; -#ifdef CONFIG_BINFMT_ELF_FDPIC - compat_ulong_t pr_exec_fdpic_loadmap; - compat_ulong_t pr_interp_fdpic_loadmap; -#endif compat_int_t pr_fpvalid; }; |