]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86-64: Use stricter in process stack check for unwinder
authorAndi Kleen <ak@suse.de>
Tue, 28 Nov 2006 19:12:59 +0000 (20:12 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 28 Nov 2006 19:12:59 +0000 (20:12 +0100)
commit183cc35a2ec43d6d2f962fb8aec1f8f4d2f66955
treeffbc35f7dcbf7b1b57f220c1e1a555bed24a6089
parent48e52c636360178248161eae3a0f1f470c365295
[PATCH] x86-64: Use stricter in process stack check for unwinder

Previously it would check for alignment only, which could break
if the stack pointer was unaligned. Now explicitely check if the
stack pointer is in the stack page of the current process.

Ported from i386.

Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/traps.c