linux/arch/sparc
David S. Miller dc5dc7e6d7 sparc: Fix SA_ONSTACK signal handling.
We need to be more liberal about the alignment of the buffer given to
us by sigaltstack().  The user should not need to be mindful of all of
the alignment constraints we have for the stack frame.

This mirrors how we handle this situation in clone() as well.

Also, we align the stack even in non-SA_ONSTACK cases so that signals
due to bad stack alignment can be delivered properly.  This makes such
errors easier to debug and recover from.

Finally, add the sanity check x86 has to make sure we won't overflow
the signal stack.

This fixes glibc testcases nptl/tst-cancel20.c and
nptl/tst-cancelx20.c

Signed-off-by: David S. Miller <davem@davemloft.net>
2008-05-07 18:54:05 -07:00
..
boot
kernel sparc: Fix SA_ONSTACK signal handling. 2008-05-07 18:54:05 -07:00
lib iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
math-emu
mm sparc32: More memory probing consolidation. 2008-05-02 05:22:53 -07:00
oprofile Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
prom sparc32: Delete prom_stdin and prom_stdout. 2008-05-02 05:22:54 -07:00
defconfig sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
Kconfig sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
Kconfig.debug
Makefile