Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2014-02-07 | Remove FIFO from sinit | sin | -66/+3 | |
We can just run /bin/rc.shutdown reboot|poweroff etc. It complicates things when rootfs is mounted as ro etc. | ||||
2014-02-07 | Bump up version to v0.2 | sin | -1/+1 | |
2014-02-07 | Don't leak the fifofd if we re-init the fifo | sin | -0/+2 | |
2014-02-07 | Refactor code | sin | -39/+86 | |
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. | ||||
2014-02-07 | Allow fifopath to be NULL | sin | -0/+4 | |
In that case we do not use the FIFO at all. | ||||
2014-02-07 | Pass the actual FIFO path to weprintf() | sin | -1/+1 | |
2014-02-07 | Use the double fork trick to properly reap spawned processes | sin | -4/+11 | |
2014-02-06 | Create a new session as quickly as possible | sin | -0/+1 | |
2014-02-06 | Use a double pointer | sin | -2/+2 | |
2014-02-06 | Inform the user when execvp() fails | sin | -0/+1 | |
2014-02-06 | We don't use err.h so remove it | sin | -1/+0 | |
2014-02-06 | Factor out the rc commands | sin | -20/+17 | |
2014-02-06 | Add README | sin | -0/+24 | |
2014-02-06 | rc has now been renamed to rc.init | sin | -1/+1 | |
2014-02-06 | Remove config.h from repo | sin | -6/+0 | |
2014-02-06 | Be less harsh and don't error out entirely | sin | -18/+29 | |
2014-02-06 | Initial commit | sin | -0/+282 | |