diff options
author | Baruch Siach <baruch@tkos.co.il> | 2013-10-14 22:22:43 (GMT) |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-10-15 20:39:16 (GMT) |
commit | cba9a90053e3b7973eff4f1946f33032e98eeed5 (patch) | |
tree | 34fa37300f208db9c3ef7b8699c7f006af69c50f /arch/xtensa/platforms/iss | |
parent | 244066f4be8ce2dc2d2d60f01bceeba55c71a783 (diff) | |
download | linux-cba9a90053e3b7973eff4f1946f33032e98eeed5.tar.xz |
xtensa: don't use alternate signal stack on threads
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.
Cc: <stable@vger.kernel.org>
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>
Diffstat (limited to 'arch/xtensa/platforms/iss')
0 files changed, 0 insertions, 0 deletions