sinit

commit8194f460daaa9343ce9863838b14132d0ad8037cparent23dbb870c7ad1d82a5c2a967683158da54ab3469Author: sin <sin@2f30.org>
Date: Fri, 7 Feb 2014 12:47:15 +0000
Refactor code
We no longer have two processes, one for reaping children and
another for handling the FIFO.
Use signalfd() to multiplex signal handling and reading from the
FIFO.
This setup will also allow us to capture ctrl-alt-del and to work
with a read-only rootfs.
To create the FIFO, we send a SIGHUP signal to init from our init
scripts.
Diffstat: