linux/arch
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
..
alpha [PATCH] make osf_select() use core_sys_select() 2008-05-01 13:07:28 -04:00
arm unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
avr32 unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
blackfin unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
cris cris: use non-racy method for /proc/system_profile creation 2008-04-29 08:06:21 -07:00
frv unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
h8300 unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
ia64 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2008-05-02 08:17:58 -07:00
m32r m32r: cleanup: drop .data.idt section in vmlinux.lds script 2008-04-29 14:46:00 +09:00
m68k unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
m68knommu unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
mips Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2008-05-02 11:23:14 -07:00
mn10300 unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
parisc unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
powerpc unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
ppc Basic braille screen reader support 2008-04-30 08:29:52 -07:00
s390 unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
sh unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
sparc sparc: Fix SA_ONSTACK signal handling. 2008-05-07 18:54:05 -07:00
sparc64 sparc: Fix SA_ONSTACK signal handling. 2008-05-07 18:54:05 -07:00
um unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
v850 unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
x86 unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
xtensa xtensa: use kbuild.h macros instead of defining them in asm-offsets.c 2008-04-29 08:06:29 -07:00
.gitignore arch: Ignore arch/i386 and arch/x86_64 2008-01-19 21:29:39 -08:00
Kconfig dma: add dma_*map*_attrs() interfaces 2008-04-29 08:06:11 -07:00