[PATCH] x86_64: Don't write out segments from vsyscall32 DSO if it is not mapped
authorSuleiman Souhlal <ssouhlal@FreeBSD.org>
Wed, 30 Aug 2006 17:37:20 +0000 (19:37 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 30 Aug 2006 23:05:16 +0000 (16:05 -0700)
commitec0063b40a2291e095faf07fbeb94be92e525c54
treec8605faccf1781687b91dafeaba6bdd6c2f10943
parent01ebb77b31149d847726a8847ad0d37631d7f049
[PATCH] x86_64: Don't write out segments from vsyscall32 DSO if it is not mapped

It's possible to get an invalid page fault in kernel mode when we try to
write out segments from vsyscall32 when dumping core for a 32bit process if
the vsyscall32 DSO is not mapped in its address space (which can happen if,
for example, ulimit -v 100 is run).

Signed-off-by: Suleiman Souhlal <suleiman@google.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/ia32/ia32_binfmt.c