linux-uconsole/arch/xtensa
Baruch Siach 54a702cb06 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:05:33 +09:00
..
boot xtensa: fix redboot load address 2013-05-09 01:07:12 -07:00
configs xtensa: remove explicit selection of GENERIC_GPIO 2013-03-20 22:48:15 +09:00
include Xtensa patchset for v3.10-rc1 2013-05-09 14:38:16 -07:00
kernel xtensa: don't use alternate signal stack on threads 2013-11-13 12:05:33 +09:00
lib xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
mm Xtensa patchset for v3.10-rc1 2013-05-09 14:38:16 -07:00
oprofile xtensa: fix oprofile building as module 2013-05-09 01:07:09 -07:00
platforms Xtensa patchset for v3.10-rc1 2013-05-09 14:38:16 -07:00
variants xtensa: Add config files for Diamond 233L - Rev C processor variant 2013-02-23 19:12:52 -08:00
Kconfig Xtensa patchset for v3.10-rc1 2013-05-09 14:38:16 -07:00
Kconfig.debug xtensa: add s32c1i sanity check 2012-12-18 21:10:22 -08:00
Makefile xtensa: add support for oprofile 2013-02-23 19:22:54 -08:00