binfmt: move more stuff undef CONFIG_COREDUMP
authorAlexey Dobriyan <adobriyan@gmail.com>
Sun, 13 Feb 2022 19:25:20 +0000 (22:25 +0300)
committerKees Cook <keescook@chromium.org>
Tue, 1 Mar 2022 00:53:44 +0000 (16:53 -0800)
commitc74bf2abd6c90f54b77370c5e758e77987ee76c1
treea50f5c856ca7a86f8d5038c5a26e6990f89454ac
parent630dc3ca2b04ddcac7bbb4af73027c4a91ac958d
binfmt: move more stuff undef CONFIG_COREDUMP

struct linux_binfmt::core_dump and struct min_coredump::min_coredump
are used under CONFIG_COREDUMP only. Shrink those embedded configs
a bit.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/YglbIFyN+OtwVyjW@localhost.localdomain
fs/binfmt_elf.c
fs/binfmt_elf_fdpic.c
fs/binfmt_flat.c
include/linux/binfmts.h