News for hackers. Stuff that matters.
Re:Why isn't memset() async-signal-safe? by linkregister on Tuesday January 03, 2017 @05:34PM (#13313834)
Tricky! Even writing your own memset would experience the same behavior, since the compiler will assume the direction flag is unset.

I agree with colanderman; the kernel should be saving every register when the signal handler is entered.

Re:Why isn't memset() async-signal-safe? by SFJulie on Tuesday January 03, 2017 @06:34PM (#13314333)
if you do 68000 ASM INT/TRAP handling, it is better to let the interrupt/signal do the cleaning restoring.

But I won't restart a war that has ended the day x86 architecture won over 68K.