From: Hiroshi Shimamoto Date: Thu, 19 Mar 2009 17:56:29 +0000 (-0700) Subject: x86: signal: check signal stack overflow properly X-Git-Tag: v2.6.30-rc3~72^2~20^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14fc9fbc700dc95b4f46ebd588169324fe6deff8;p=pandora-kernel.git x86: signal: check signal stack overflow properly Impact: cleanup Check alternate signal stack overflow with proper stack pointer. The stack pointer of the next signal frame is different if that task has i387 state. On x86_64, redzone would be included. No need to check SA_ONSTACK if we're already using alternate signal stack. Signed-off-by: Hiroshi Shimamoto Cc: Roland McGrath LKML-Reference: <49C2874D.3080002@ct.jp.nec.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed