diff options
author | Baruch Siach <baruch@tkos.co.il> | 2013-10-15 02:22:43 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-13 07:01:49 +0400 |
commit | 10ff8e6bf05b639df6d68abe5351be5d0cc18e4d (patch) | |
tree | 2075a04c84f16892aab8ecf504d74b80d7ba05e8 /arch/xtensa/variants | |
parent | cc51af932905754ad594f8d1fc02d61073b7236f (diff) | |
download | linux-10ff8e6bf05b639df6d68abe5351be5d0cc18e4d.tar.xz |
xtensa: don't use alternate signal stack on threads
commit cba9a90053e3b7973eff4f1946f33032e98eeed5 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>
Diffstat (limited to 'arch/xtensa/variants')
0 files changed, 0 insertions, 0 deletions