mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] default CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
@ 2010-09-18  1:02 Roland McGrath
  2010-09-19 20:10 ` Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Roland McGrath @ 2010-09-18  1:02 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds; +Cc: linux-kernel

The userland ELF tools have been coping with partial-segments core
files for a few years now.  Multiple distro builds are now setting
this option.  It behooves everyone who ever deals with core files to
have more info dumped in there, especially as more and more people's
compilers are producing build IDs.  Make it the default.

Anyone using older tools confused by these core files can configure
this option off, or just change /proc/PID/coredump_filter after boot.

Signed-off-by: Roland McGrath <roland@redhat.com>
---
 fs/Kconfig.binfmt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/Kconfig.binfmt b/fs/Kconfig.binfmt
index bb4cc5b..79e2ca7 100644
--- a/fs/Kconfig.binfmt
+++ b/fs/Kconfig.binfmt
@@ -42,7 +42,7 @@ config BINFMT_ELF_FDPIC
 
 config CORE_DUMP_DEFAULT_ELF_HEADERS
 	bool "Write ELF core dumps with partial segments"
-	default n
+	default y
 	depends on BINFMT_ELF && ELF_CORE
 	help
 	  ELF core dump files describe each memory mapping of the crashed
@@ -60,7 +60,7 @@ config CORE_DUMP_DEFAULT_ELF_HEADERS
 	  inherited.  See Documentation/filesystems/proc.txt for details.
 
 	  This config option changes the default setting of coredump_filter
-	  seen at boot time.  If unsure, say N.
+	  seen at boot time.  If unsure, say Y.
 
 config BINFMT_FLAT
 	bool "Kernel support for flat binaries"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] default CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
  2010-09-18  1:02 [PATCH] default CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y Roland McGrath
@ 2010-09-19 20:10 ` Linus Torvalds
  2010-09-21  6:09   ` Roland McGrath
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Torvalds @ 2010-09-19 20:10 UTC (permalink / raw)
  To: Roland McGrath; +Cc: Andrew Morton, linux-kernel

On Fri, Sep 17, 2010 at 6:02 PM, Roland McGrath <roland@redhat.com> wrote:
> The userland ELF tools have been coping with partial-segments core
> files for a few years now.  Multiple distro builds are now setting
> this option.  It behooves everyone who ever deals with core files to
> have more info dumped in there, especially as more and more people's
> compilers are producing build IDs.  Make it the default.

Ok, I can do this next merge window, but it's not appropriate for my tree now.

So either Andrew tracks this, or you'll need to re-send it when we're
not in the -rc phase.

                   Linus

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] default CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
  2010-09-19 20:10 ` Linus Torvalds
@ 2010-09-21  6:09   ` Roland McGrath
  0 siblings, 0 replies; 3+ messages in thread
From: Roland McGrath @ 2010-09-21  6:09 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Andrew Morton, linux-kernel

I can never keep track of your cycles.  I just post changes when
I have them.  For this item, my only hope is that it gets in one
of these days.  So it would be nice if Andrew can queue it to be
merged whenever is appropriate.


Thanks,
Roland

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-21  6:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-18  1:02 [PATCH] default CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y Roland McGrath
2010-09-19 20:10 ` Linus Torvalds
2010-09-21  6:09   ` Roland McGrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®