kernel_optimize_test/include
Roland McGrath 82df39738b Add MMF_DUMP_ELF_HEADERS
This adds the MMF_DUMP_ELF_HEADERS option to /proc/pid/coredump_filter.
This dumps the first page (only) of a private file mapping if it appears to
be a mapping of an ELF file.  Including these pages in the core dump may
give sufficient identifying information to associate the original DSO and
executable file images and their debugging information with a core file in
a generic way just from its contents (e.g.  when those binaries were built
with ld --build-id).  I expect this to become the default behavior
eventually.  Existing versions of gdb can be confused by the core dumps it
creates, so it won't enabled by default for some time to come.  Soon many
people will have systems with a gdb that handle these dumps, so they can
arrange to set the bit at boot and have it inherited system-wide.

This also cleans up the checking of the MMF_DUMP_* flag bits, which did not
need to be using atomic macros.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-17 08:42:52 -07:00
..
acpi
asm-alpha kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-arm kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-arm26 softlockup: make asm/irq_regs.h available on every platform 2007-10-17 08:42:47 -07:00
asm-avr32 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-blackfin kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-cris kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-frv kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-generic unexport asm/shmparam.h 2007-10-17 08:42:47 -07:00
asm-h8300 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-ia64 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-m32r kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-m68k kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-m68knommu kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-mips kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-parisc kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-powerpc powerpc: Use linux/elfcore-compat.h 2007-10-17 08:42:51 -07:00
asm-ppc softlockup: make asm/irq_regs.h available on every platform 2007-10-17 08:42:47 -07:00
asm-s390 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-sh kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-sh64 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-sparc kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-sparc64 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-um uml: style fixes in FP code 2007-10-16 09:43:07 -07:00
asm-v850 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-x86 kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
asm-xtensa kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
crypto [CRYPTO] sha: Add header file for SHA definitions 2007-10-10 16:55:50 -07:00
keys
linux Add MMF_DUMP_ELF_HEADERS 2007-10-17 08:42:52 -07:00
math-emu
media v4l: copy_to_user() is not a good method name 2007-10-13 09:58:59 -07:00
mtd
net [IPV6]: Replace sk_buff ** with sk_buff * in input handlers 2007-10-15 12:50:28 -07:00
pcmcia pcmcia: use DMA_MASK_NONE for the default for all pcmcia devices 2007-10-16 09:42:50 -07:00
rdma
rxrpc
scsi do not export /usr/include/scsi in make headers_install 2007-10-17 08:42:52 -07:00
sound [ALSA] version 1.0.15 2007-10-16 16:57:46 +02:00
video pm2fb: hardware cursor support for the Permedia2 2007-10-16 09:43:18 -07:00
xen
Kbuild do not export /usr/include/scsi in make headers_install 2007-10-17 08:42:52 -07:00