Saving errno around signal handlers
Florian Weimer
fweimer@redhat.com
Mon Mar 3 08:38:00 GMT 2014
On 02/28/2014 10:19 PM, Roland McGrath wrote:
>> POSIX has green-lighted saving errno around signal handlers.
>
> I don't even know what you might think that means. Whenever talking about
> a change in a standard, provide a reference to the actual change in the
> actual standard.
It's about this change:
<http://austingroupbugs.net/view.php?id=807>
At present, many signal handlers are incorrect, even though they only
call async-signal-safe functions because they fail to save and restore
errno.
--
Florian Weimer / Red Hat Product Security Team
More information about the Libc-alpha
mailing list