CORE_DUMP_DEFAULT_ELF_HEADERS depends on ELF_CORE

Kernels that don't support ELF coredumps at all surely can't be supporting
new partial-segment flavored ELF coredumps ... don't make folk answer
Kconfig questions about that flavor.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

David Brownell and committed by
Linus Torvalds
2d96d105 9a100a44

+1 -1
+1 -1
fs/Kconfig.binfmt
··· 43 43 config CORE_DUMP_DEFAULT_ELF_HEADERS 44 44 bool "Write ELF core dumps with partial segments" 45 45 default n 46 - depends on BINFMT_ELF 46 + depends on BINFMT_ELF && ELF_CORE 47 47 help 48 48 ELF core dump files describe each memory mapping of the crashed 49 49 process, and can contain or omit the memory contents of each one.