android_kernel_google_msm/arch/xtensa/kernel
Baruch Siach 10ff8e6bf0 xtensa: don't use alternate signal stack on threads
commit cba9a90053 upstream.

According to create_thread(3): "The new thread does not inherit the creating
thread's alternate signal stack". Since commit f9a3879a (Fix sigaltstack
corruption among cloned threads), current->sas_ss_size is set to 0 for cloned
processes sharing VM with their parent. Don't use the (nonexistent) alternate
signal stack in this case. This has been broken since commit 29c4dfd9 ([XTENSA]
Remove non-rt signal handling).

Fixes the SA_ONSTACK part of the nptl/tst-cancel20 test from uClibc.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-11-13 12:01:49 +09:00
..
align.S
asm-offsets.c
coprocessor.S
entry.S
head.S
init_task.c
io.c
irq.c
Makefile xtensa: fix linker script transformation for .text.unlikely 2013-08-20 08:26:29 -07:00
module.c
pci-dma.c
pci.c xtensa/PCI: get rid of device resource fixups 2012-02-23 20:19:04 -07:00
platform.c
process.c xtensa: Add missing RCU idle APIs on idle loop 2012-10-13 05:38:54 +09:00
ptrace.c Disintegrate asm/system.h for Xtensa 2012-03-28 18:30:03 +01:00
setup.c Disintegrate asm/system.h for Xtensa 2012-03-28 18:30:03 +01:00
signal.c xtensa: don't use alternate signal stack on threads 2013-11-13 12:01:49 +09:00
syscall.c
time.c
traps.c Disintegrate asm/system.h for Xtensa 2012-03-28 18:30:03 +01:00
vectors.S
vmlinux.lds.S xtensa: replace xtensa-specific _f{data,text} by _s{data,text} 2013-08-20 08:26:29 -07:00
xtensa_ksyms.c