sparc: Harden signal return frame checks.

[ Upstream commit d11c2a0de2 ]

All signal frames must be at least 16-byte aligned, because that is
the alignment we explicitly create when we build signal return stack
frames.

All stack pointers must be at least 8-byte aligned.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
David S. Miller 2016-05-28 21:21:31 -07:00 • committed by Greg Kroah-Hartman
commit 1fda90c39d
5 changed files with 92 additions and 45 deletions