On Wed, Sep 30, 2015 at 04:12:00AM -0500, Rob Landley wrote: > I'm going through my todo heap and trying to make sure I got all the > patches from the previous couple months, and I hit: > > commit 991b570a02ce8754bba921e46d953858ed28268c > Author: Isaac Dunham <[email protected]> > Date: Sat Mar 28 20:22:57 2015 +0000 > > Increase compatability of reboot and init > > * init: recognize SIGINT, use xsignal() > * reboot: add "-f" mode, make default signal init > > In the git repo I pulled from you. That's the only one I haven't applied > yet. How much of this is still relevant? None; see commit a12eec740.
> Using xsignal from PID 1 seems inadvisable, but the -f mode seems like a > good idea...? Do you remember where we left off on this? Is there a more > recent version I missed? Some version of that got applied, then a couple fixes on top of it. If there were a version of xsignal() that didn't die on failure it would be better; using xsignal() is about SA_RESTART vs. SA_ONESHOT (if I'm remembering the names correctly). HTH, Isaac Dunham _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
