Revision f47aef55d9a18945fcdd7fd6bf01121ce973b91b authored by Roland McGrath on 26 January 2007, 08:56:49 UTC, committed by Linus Torvalds on 26 January 2007, 21:50:58 UTC
This patch fixes core dumps to include the vDSO vma, which is left out now. It removes the special-case core writing macros, which were not doing the right thing for the vDSO vma anyway. Instead, it uses VM_ALWAYSDUMP in the vma; there is no need for the fixmap page to be installed. It handles the CONFIG_COMPAT_VDSO case by making elf_core_dump use the fake vma from get_gate_vma after real vmas in the same way the /proc/PID/maps code does. This changes core dumps so they no longer include the non-PT_LOAD phdrs from the vDSO. I made the change to add them in the first place, but in turned out that nothing ever wanted them there since the advent of NT_AUXV. It's cleaner to leave them out, and just let the phdrs inside the vDSO image speak for themselves. Signed-off-by: Roland McGrath <roland@redhat.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent e5b97dd
File | Mode | Size |
---|---|---|
cluster | ||
dlm | ||
Makefile | -rw-r--r-- | 528 bytes |
alloc.c | -rw-r--r-- | 52.7 KB |
alloc.h | -rw-r--r-- | 2.9 KB |
aops.c | -rw-r--r-- | 17.4 KB |
aops.h | -rw-r--r-- | 1.4 KB |
buffer_head_io.c | -rw-r--r-- | 7.4 KB |
buffer_head_io.h | -rw-r--r-- | 2.1 KB |
dcache.c | -rw-r--r-- | 11.1 KB |
dcache.h | -rw-r--r-- | 1.8 KB |
dir.c | -rw-r--r-- | 15.3 KB |
dir.h | -rw-r--r-- | 1.8 KB |
dlmglue.c | -rw-r--r-- | 79.1 KB |
dlmglue.h | -rw-r--r-- | 4.3 KB |
endian.h | -rw-r--r-- | 1.3 KB |
export.c | -rw-r--r-- | 5.7 KB |
export.h | -rw-r--r-- | 1.0 KB |
extent_map.c | -rw-r--r-- | 26.3 KB |
extent_map.h | -rw-r--r-- | 1.6 KB |
file.c | -rw-r--r-- | 33.6 KB |
file.h | -rw-r--r-- | 2.1 KB |
heartbeat.c | -rw-r--r-- | 9.4 KB |
heartbeat.h | -rw-r--r-- | 2.3 KB |
inode.c | -rw-r--r-- | 34.4 KB |
inode.h | -rw-r--r-- | 4.9 KB |
ioctl.c | -rw-r--r-- | 2.7 KB |
ioctl.h | -rw-r--r-- | 258 bytes |
journal.c | -rw-r--r-- | 37.9 KB |
journal.h | -rw-r--r-- | 14.5 KB |
localalloc.c | -rw-r--r-- | 23.1 KB |
localalloc.h | -rw-r--r-- | 1.7 KB |
mmap.c | -rw-r--r-- | 2.9 KB |
mmap.h | -rw-r--r-- | 134 bytes |
namei.c | -rw-r--r-- | 55.3 KB |
namei.h | -rw-r--r-- | 1.7 KB |
ocfs1_fs_compat.h | -rw-r--r-- | 2.9 KB |
ocfs2.h | -rw-r--r-- | 12.0 KB |
ocfs2_fs.h | -rw-r--r-- | 21.0 KB |
ocfs2_lockid.h | -rw-r--r-- | 2.5 KB |
slot_map.c | -rw-r--r-- | 7.0 KB |
slot_map.h | -rw-r--r-- | 1.9 KB |
suballoc.c | -rw-r--r-- | 47.6 KB |
suballoc.h | -rw-r--r-- | 3.9 KB |
super.c | -rw-r--r-- | 43.0 KB |
super.h | -rw-r--r-- | 1.5 KB |
symlink.c | -rw-r--r-- | 4.1 KB |
symlink.h | -rw-r--r-- | 1.3 KB |
sysfile.c | -rw-r--r-- | 3.2 KB |
sysfile.h | -rw-r--r-- | 1.1 KB |
uptodate.c | -rw-r--r-- | 16.5 KB |
uptodate.h | -rw-r--r-- | 1.6 KB |
ver.c | -rw-r--r-- | 1.2 KB |
ver.h | -rw-r--r-- | 1000 bytes |
vote.c | -rw-r--r-- | 26.8 KB |
vote.h | -rw-r--r-- | 1.7 KB |
Computing file changes ...