Consensus on MT-, AS- and AC-Safety docs.

Florian Weimer fweimer@redhat.com
Wed Nov 27 21:12:00 GMT 2013


On 11/20/2013 09:46 PM, Rich Felker wrote:

> All AS-safe functions have the potential to modify errno (since all
> functions in the standard library do); many are even required to
> modify it. When using any library function in a signal handler, it's
> the programmer's responsibility to save errno and restore its value
> before returning.

I think we should do that in the code that wraps the signal handler 
call, to address this class of errors once and for all.  Is this feasible?

-- 
Florian Weimer / Red Hat Product Security Team



More information about the Libc-alpha mailing list