Commit 2d96d105 authored by David Brownell's avatar David Brownell Committed by Linus Torvalds

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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Acked-by: default avatarRoland McGrath <roland@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9a100a44
...@@ -43,7 +43,7 @@ config BINFMT_ELF_FDPIC ...@@ -43,7 +43,7 @@ config BINFMT_ELF_FDPIC
config CORE_DUMP_DEFAULT_ELF_HEADERS config CORE_DUMP_DEFAULT_ELF_HEADERS
bool "Write ELF core dumps with partial segments" bool "Write ELF core dumps with partial segments"
default n default n
depends on BINFMT_ELF depends on BINFMT_ELF && ELF_CORE
help help
ELF core dump files describe each memory mapping of the crashed ELF core dump files describe each memory mapping of the crashed
process, and can contain or omit the memory contents of each one. process, and can contain or omit the memory contents of each one.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment