]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit964c4eefa5db31740999f584982349342a0943fe
treec8605faccf1781687b91dafeaba6bdd6c2f10943
parent73fcd70c5826369380e444fc3f252c3a0269b83d
[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