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
History
File Mode Size
9p
adfs
affs
afs
autofs
autofs4
befs
bfs
cifs
coda
configfs
cramfs
debugfs
devpts
dlm
ecryptfs
efs
exportfs
ext2
ext3
ext4
fat
freevxfs
fuse
gfs2
hfs
hfsplus
hostfs
hpfs
hppfs
hugetlbfs
isofs
jbd
jbd2
jffs
jffs2
jfs
lockd
minix
msdos
ncpfs
nfs
nfs_common
nfsd
nls
ntfs
ocfs2
openpromfs
partitions
proc
qnx4
ramfs
reiserfs
romfs
smbfs
sysfs
sysv
udf
ufs
vfat
xfs
Kconfig -rw-r--r-- 75.1 KB
Kconfig.binfmt -rw-r--r-- 5.3 KB
Makefile -rw-r--r-- 3.6 KB
aio.c -rw-r--r-- 45.0 KB
attr.c -rw-r--r-- 4.2 KB
bad_inode.c -rw-r--r-- 7.9 KB
binfmt_aout.c -rw-r--r-- 15.2 KB
binfmt_elf.c -rw-r--r-- 46.4 KB
binfmt_elf_fdpic.c -rw-r--r-- 46.4 KB
binfmt_em86.c -rw-r--r-- 2.8 KB
binfmt_flat.c -rw-r--r-- 26.0 KB
binfmt_misc.c -rw-r--r-- 15.7 KB
binfmt_script.c -rw-r--r-- 2.7 KB
binfmt_som.c -rw-r--r-- 7.8 KB
bio.c -rw-r--r-- 29.7 KB
block_dev.c -rw-r--r-- 33.9 KB
buffer.c -rw-r--r-- 80.0 KB
char_dev.c -rw-r--r-- 13.1 KB
compat.c -rw-r--r-- 52.9 KB
compat_ioctl.c -rw-r--r-- 71.8 KB
dcache.c -rw-r--r-- 53.8 KB
dcookies.c -rw-r--r-- 6.4 KB
direct-io.c -rw-r--r-- 34.9 KB
dnotify.c -rw-r--r-- 4.3 KB
dquot.c -rw-r--r-- 52.6 KB
drop_caches.c -rw-r--r-- 1.4 KB
eventpoll.c -rw-r--r-- 45.6 KB
exec.c -rw-r--r-- 35.0 KB
fcntl.c -rw-r--r-- 14.2 KB
fifo.c -rw-r--r-- 3.1 KB
file.c -rw-r--r-- 6.2 KB
file_table.c -rw-r--r-- 6.8 KB
filesystems.c -rw-r--r-- 5.2 KB
fs-writeback.c -rw-r--r-- 20.0 KB
generic_acl.c -rw-r--r-- 4.2 KB
inode.c -rw-r--r-- 37.3 KB
inotify.c -rw-r--r-- 19.3 KB
inotify_user.c -rw-r--r-- 17.3 KB
internal.h -rw-r--r-- 1.1 KB
ioctl.c -rw-r--r-- 3.9 KB
ioprio.c -rw-r--r-- 4.6 KB
libfs.c -rw-r--r-- 15.2 KB
locks.c -rw-r--r-- 55.2 KB
mbcache.c -rw-r--r-- 18.2 KB
mpage.c -rw-r--r-- 22.9 KB
namei.c -rw-r--r-- 67.8 KB
namespace.c -rw-r--r-- 46.8 KB
nfsctl.c -rw-r--r-- 2.4 KB
no-block.c -rw-r--r-- 663 bytes
open.c -rw-r--r-- 24.5 KB
pipe.c -rw-r--r-- 22.1 KB
pnode.c -rw-r--r-- 7.6 KB
pnode.h -rw-r--r-- 1006 bytes
posix_acl.c -rw-r--r-- 8.5 KB
quota.c -rw-r--r-- 9.3 KB
quota_v1.c -rw-r--r-- 5.7 KB
quota_v2.c -rw-r--r-- 20.1 KB
read_write.c -rw-r--r-- 17.5 KB
read_write.h -rw-r--r-- 542 bytes
readdir.c -rw-r--r-- 6.9 KB
select.c -rw-r--r-- 20.5 KB
seq_file.c -rw-r--r-- 9.6 KB
splice.c -rw-r--r-- 36.3 KB
stack.c -rw-r--r-- 1.0 KB
stat.c -rw-r--r-- 10.6 KB
super.c -rw-r--r-- 21.9 KB
sync.c -rw-r--r-- 6.8 KB
utimes.c -rw-r--r-- 3.6 KB
xattr.c -rw-r--r-- 13.8 KB
xattr_acl.c -rw-r--r-- 2.3 KB

back to top