sparc: Harden signal return frame checks.
authorDavid S. Miller <davem@davemloft.net>
Sun, 29 May 2016 04:21:31 +0000 (21:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 May 2016 18:24:05 +0000 (11:24 -0700)
commitd11c2a0de2824395656cf8ed15811580c9dd38aa
tree1a2024f157752d35d4ac42807c6ca1da7b52b58c
parent9ea46abe22550e3366ff7cee2f8391b35b12f730
sparc: Harden signal return frame checks.

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>
arch/sparc/kernel/signal32.c
arch/sparc/kernel/signal_32.c
arch/sparc/kernel/signal_64.c
arch/sparc/kernel/sigutil_32.c
arch/sparc/kernel/sigutil_64.c