Skip to content

Commit 2d96d10

Browse files
David Brownelltorvalds
authored andcommitted
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>
1 parent 9a100a4 commit 2d96d10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/Kconfig.binfmt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ config BINFMT_ELF_FDPIC
4343
config CORE_DUMP_DEFAULT_ELF_HEADERS
4444
bool "Write ELF core dumps with partial segments"
4545
default n
46-
depends on BINFMT_ELF
46+
depends on BINFMT_ELF && ELF_CORE
4747
help
4848
ELF core dump files describe each memory mapping of the crashed
4949
process, and can contain or omit the memory contents of each one.

0 commit comments

Comments
 (0)