Rethinking race-free process signaling
Rethinking race-free process signaling
Posted Apr 9, 2019 15:04 UTC (Tue) by nix (subscriber, #2304)In reply to: Rethinking race-free process signaling by Cyberax
Parent article: Rethinking race-free process signaling
Let's make it really fun: asynchronous signals and asynchronous cancellation handlers, because having one horrible source of bugs that trigger very rarely when innocent functions like malloc() are called anywhere in the call stack was not enough, so they added another! (Unfortunately asynchronous cancellation handlers *are* used, as Debian code search makes clear, so libc authors have to go through hell making them work right: this is distinct from, say, seekdir(), which appears to be basically unused, with all the codesearch hits being wrappers or parts of the implementation.)