diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2022-02-13 20:25:20 +0100 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-03-02 01:16:27 +0100 |
commit | d65bc29be0ae4ca2368df25dc6f6247aefb57f07 (patch) | |
tree | 94d129acb51ec8c2b9431b521944c8a600db9b76 /fs/binfmt_elf_fdpic.c | |
parent | selftests/exec: Test for empty string on NULL argv (diff) | |
download | linux-d65bc29be0ae4ca2368df25dc6f6247aefb57f07.tar.xz linux-d65bc29be0ae4ca2368df25dc6f6247aefb57f07.zip |
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
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
-rw-r--r-- | fs/binfmt_elf_fdpic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c index c6f588dc4a9d..7fa6e6632d9d 100644 --- a/fs/binfmt_elf_fdpic.c +++ b/fs/binfmt_elf_fdpic.c @@ -83,8 +83,8 @@ static struct linux_binfmt elf_fdpic_format = { .load_binary = load_elf_fdpic_binary, #ifdef CONFIG_ELF_CORE .core_dump = elf_fdpic_core_dump, -#endif .min_coredump = ELF_EXEC_PAGESIZE, +#endif }; static int __init init_elf_fdpic_binfmt(void) |