parisc: sigaltstack doesn't round ss.ss_sp as required
authorJohn David Anglin <dave.anglin@bell.net>
Sun, 25 Nov 2012 21:39:00 +0000 (21:39 +0000)
committerHelge Deller <deller@gmx.de>
Mon, 7 Jan 2013 22:06:27 +0000 (23:06 +0100)
commitad30f3ff3deb4037f2beea15812d01d795f8b3cc
tree20dbd553fb9244141d242303acd4679a9c67d1b4
parent34360f080cb5848990576e1465d2d01a3c261762
parisc: sigaltstack doesn't round ss.ss_sp as required

On 24-Nov-12, at 10:05 AM, John David Anglin wrote:

> In trying to build the debian libsigsegv2 package, I found that sigaltstack
> doesn't round ss.ss_sp. The tests intentionally pass an unaligned pointer.
> This results in the two stack overflow tests failing.

The attached patch fixes this issue.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/signal.c