[PATCH] Async signal safe TLS accesses
Andrew Hunter
ahh@google.com
Thu Oct 3 20:08:00 GMT 2013
On Thu, Oct 3, 2013 at 1:01 PM, Andrew Hunter <ahh@google.com> wrote:
>
This is v2 of the patch. Symbols are not exported; the API is named
__signal_safe_X, a few typos fixed.
I added a test case to nptl/ that accesses TLS (first) from signal
handlers. It passes with this patch (and merrily deadlocks without
it.)
FYI, at HEAD (before my patch), a few tests fail on my system, but
this patch does not cause any new failures. For the record, the tests
I had to disable:
elf/ifuncmain1staticpie
elf/ifuncmain6pie
elf/ifuncmain7pie
localedata/bug-iconv-trans
localedata/tst_mblen
localedata/tst_mbrlen
localedata/tst_mbrtowc
localedata/tst_mbsrtowcs
localedata/tst_mbstowcs
localedata/tst_mbtowc
localedata/tst_swscanf
localedata/tst_wcrtomb
localedata/tst_wcsrtombs
localedata/tst_wcstombs
localedata/tst_wctob
localedata/tst_wctomb
localedata/tst_wctype
Does anyone have any remaining concerns with this patch that haven't
been covered yet?
More information about the Libc-alpha
mailing list