kernel-ark/arch/sparc/kernel
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
..
apc.c
asm-offsets.c sparc: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:29 -07:00
auxio.c
cpu.c [SPARC]: Mark linux_sparc_{fpu,chips} static. 2008-02-28 21:46:59 -08:00
devices.c [SPARC]: Add missing of_node_put 2007-12-05 05:38:00 -08:00
ebus.c sparc: replace remaining __FUNCTION__ occurances 2008-03-03 11:41:51 -08:00
entry.S sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
etrap.S
head.S sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
idprom.c
init_task.c Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
ioport.c Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
irq.c [SPARC]: Remove duplicate includes. 2007-11-06 21:23:11 -08:00
irq.h [SPARC32]: Take enable_irq/disable_irq out of line. 2007-07-21 19:19:38 -07:00
kgdb.c sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
led.c [SPARC]: Fix build in arch/sparc/kernel/led.c 2008-02-24 18:45:09 -08:00
Makefile sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
module.c
muldiv.c
of_device.c [SPARC]: Remove of_platform_device_create 2008-02-09 03:49:58 -08:00
pcic.c xtime_lock vs update_process_times 2008-02-13 13:29:25 -08:00
pmc.c
process.c sparc: Fix fork/clone/vfork system call restart. 2008-05-07 16:21:28 -07:00
prom.c [SPARC]: Centralize find_in_proplist() instead of duplicating N times. 2007-08-07 18:46:36 -07:00
ptrace.c [SPARC]: Fix several regset and ptrace bugs. 2008-04-09 19:39:25 -07:00
rtrap.S
setup.c sparc32: More memory probing consolidation. 2008-05-02 05:22:53 -07:00
signal.c sparc: Fix SA_ONSTACK signal handling. 2008-05-07 18:54:05 -07:00
smp.c [SPARC32]: clean include/asm-sparc/irq.h 2007-07-21 19:18:57 -07:00
sparc_ksyms.c sparc: Export symbols for ZERO_PAGE usage in modules. 2008-04-29 08:11:12 -04:00
sun4c_irq.c [SPARC32]: clean include/asm-sparc/irq.h 2007-07-21 19:18:57 -07:00
sun4d_irq.c [SPARC32]: Take enable_irq/disable_irq out of line. 2007-07-21 19:19:38 -07:00
sun4d_smp.c sparc32: Kill smp_message_pass() and related code. 2008-04-29 01:14:10 -07:00
sun4m_irq.c [SPARC32]: clean include/asm-sparc/irq.h 2007-07-21 19:18:57 -07:00
sun4m_smp.c sparc32: Kill smp_message_pass() and related code. 2008-04-29 01:14:10 -07:00
sun4setup.c
sys_sparc.c sparc: Fix mmap VA span checking. 2008-05-07 02:24:28 -07:00
systbls.S [SPARC]: Remove SunOS and Solaris binary support. 2008-04-21 15:10:15 -07:00
tadpole.c
tick14.c [SPARC32]: Take enable_irq/disable_irq out of line. 2007-07-21 19:19:38 -07:00
time.c [SPARC] minor irq handler cleanups 2008-04-20 18:43:05 -04:00
trampoline.S
traps.c Use helpers to obtain task pid in printks (arch code) 2007-10-19 11:53:43 -07:00
una_asm.S [SPARC]: Fix link errors with gcc-4.3 2008-03-03 15:01:05 -08:00
unaligned.c [SPARC]: Fix link errors with gcc-4.3 2008-03-03 15:01:05 -08:00
vmlinux.lds.S [SPARC]: Merge asm-sparc{,64}/cache.h 2008-02-09 04:17:37 -08:00
windows.c
wof.S
wuf.S