[RFC 0/4] Make strsignal and strerror async-signal-safe
Adhemerval Zanella
adhemerval.zanella@linaro.org
Thu May 14 16:55:06 GMT 2020
On 14/05/2020 13:51, Florian Weimer wrote:
> * Adhemerval Zanella:
>
>> What about moving per-thread state to __thread (generic) / pthread (Linux),
>> do you have some reservation about it?
>
> No, that makes sense. You can free allocations via
> malloc/thread-freeres.c.
>
> I think I have a patch somewhere that unifies strerror and strerror_l at
> the same time, or I can review yours. I read POSIX as saying that
> strerror and strerror_l can share the same buffer.
Alright, I will rework the patch to add new async-signal-safe symbols to
sys_{sig,err}list.
More information about the Libc-alpha
mailing list