OSDN Git Service

take fdpic-related parts of elf_prstatus out
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 14 Jun 2020 13:52:06 +0000 (09:52 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 27 Jul 2020 18:29:22 +0000 (14:29 -0400)
commit16aead81018ca404efe9bd928786824e7168151f
treefac0eb07b60db4dc0f29d4d11b9290cb189bbb84
parent1e6b57d6421f0343dd11619612e5ff8930cddf38
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>
fs/binfmt_elf_fdpic.c
include/linux/elfcore-compat.h
include/linux/elfcore.h