summaryrefslogtreecommitdiff
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-09-24 09:06:47 +0400
committerDavid S. Miller <davem@davemloft.net>2010-10-26 19:59:55 +0400
commit9088333e3d83a68aeac15f7810c3cbf332b80303 (patch)
tree7187e09ba5e21ee60df9c1efc6d2b8f793e64399 /arch/sparc/include
parentcaebf9103be2e6a5330c6395a1f9f213edb0c8df (diff)
downloadlinux-9088333e3d83a68aeac15f7810c3cbf332b80303.tar.xz
sparc32: Fix unaligned stack handling on trap return.
When the rett stack checking code sees the stack is unaligned (in both the sun4c and srmmu cases) it jumps to the window fault-in path. But that just tries to page the stack pages in, it doesn't do anything special if the stack is misaligned. Therefore we essentially just loop forever in the trap return path. Fix this by emitting a SIGILL in the stack fault-in code if the stack is mis-aligned. Reported-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
0 files changed, 0 insertions, 0 deletions