android_kernel_xiaomi_sm8350/arch/sparc64
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 sparc64: Fix initrd regression. 2008-05-06 15:19:54 -07:00
oprofile
prom [SPARC]: Kill 'prom_palette'. 2008-02-18 15:28:16 -08:00
defconfig sparc64: Kill CONFIG_SPARC32_COMPAT 2008-04-26 21:41:19 -07:00
Kconfig sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
Kconfig.debug [SPARC64]: Remove DEBUG_BOOTMEM. 2008-02-13 01:00:26 -08:00
Makefile [SPARC]: Remove SunOS and Solaris binary support. 2008-04-21 15:10:15 -07:00