Re:Why isn't memset() async-signal-safe?
by hawkice on Tuesday January 03, 2017 @06:14PM
(#13314177)
I mean, kernel bug or no, if that's how it actually works, then it isn't actually safe to be handle signals while executing these functions. If people are still working to change the code and standards we hold the code to, then you can't push changes that rely on the new behavior without introducing some truly bizarre race conditions.
[ Parent
| on HN ]
This comment suggests that #DF is rarely used anyway https://lkml.org/lkml/2008/3/6/50
> The conclusion is that DF=1 in x86_64 64-bit code is extremely rare
Re:Why isn't memset() async-signal-safe?
by tedunangst on Tuesday January 03, 2017 @06:49PM
(#13314418)
The bug is 8 years old. At some point you can assume it's been fixed.
Re:Why isn't memset() async-signal-safe?
by hawkice on Tuesday January 03, 2017 @07:40PM
(#13314698)
I mean, that's pretty optimistic, but perhaps: At some point you can assume that, if people get your updated code in 2017, they'll have an update from many years ago.
Depends on how releases are managed, but that might be much much more practical an assumption.