Re:Signalfd Is Useless
by bluetomcat on Saturday May 25, 2024 @03:15AM
(#40473224)
Pretentious title with little substance to justify the claim. The inherited signal disposition mask with the blocked signals can be restored in a forked child process, before an exec. Because it makes a shell-spawning function like system() even less desirable, doesn’t render it “useless”.
[ Parent
| on HN ]
The whole signal mask / handler thing (and inherited FDs to a certain extent) certainly make a function to "just launch another program" harder to write.
Re:Signalfd Is Useless
by bluetomcat on Saturday May 25, 2024 @03:56AM
(#40473397)
It’s an essential part of the Unix process model. The whole design feels dated and centered around shells and terminals.
A more productive endeavour would be to propose a new design without all these warts. Not cherry-picking and whining about random aspects, without seeing the big picture.