[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200810301559.50467.david-b@pacbell.net>
Date:	Thu, 30 Oct 2008 15:59:50 -0700
From:	David Brownell <david-b@...bell.net>
To:	lkml <linux-kernel@...r.kernel.org>
Cc:	Roland McGrath <roland@...hat.com>
Subject: [patch 2.6.28-rc2] CORE_DUMP_DEFAULT_ELF_HEADERS depends on ELF_CORE
From: David Brownell <dbrownell@...rs.sourceforge.net>
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@...rs.sourceforge.net>
Cc: Roland McGrath <roland@...hat.com>
---
 fs/Kconfig.binfmt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/Kconfig.binfmt
+++ b/fs/Kconfig.binfmt
@@ -43,7 +43,7 @@ config BINFMT_ELF_FDPIC
 config CORE_DUMP_DEFAULT_ELF_HEADERS
 	bool "Write ELF core dumps with partial segments"
 	default n
-	depends on BINFMT_ELF
+	depends on BINFMT_ELF && ELF_CORE
 	help
 	  ELF core dump files describe each memory mapping of the crashed
 	  process, and can contain or omit the memory contents of each one.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
