Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2014-04-23 | Mention /bin/rc.init in the manpage | sin | -0/+4 | |
2014-04-23 | Add sinit.8 manpage | sin | -3/+33 | |
2014-04-23 | Add dist target to Makefile | sin | -1/+10 | |
2014-04-21 | Break on first signal found | sin | -2/+5 | |
2014-04-19 | setpgid(0, 0) seems redundant after setsid() | sin | -1/+0 | |
2014-04-16 | Bump up to v0.9 - should be the final release | sin | -1/+1 | |
2014-04-09 | Be less hardcore and don't use -Werror | sin | -1/+1 | |
Use -Wno-unused-result as the compiler produces false positives. | ||||
2014-03-27 | Fix vertical indentation | sin | -5/+0 | |
2014-03-27 | Just block all signals | sin | -3/+1 | |
2014-03-08 | Bump up version to v0.8 | sin | -1/+1 | |
2014-03-08 | Remove util/ | sin | -82/+9 | |
2014-03-08 | Mark venprintf() as static explicitly, not just in the decl | sin | -2/+1 | |
2014-02-27 | Don't assume that $(DESTDIR)$(PREFIX)/bin exists | sin | -0/+1 | |
2014-02-16 | No need to setsid() early | sin | -1/+0 | |
2014-02-12 | Bump up to v0.7 | sin | -1/+1 | |
2014-02-12 | Sanitize working dir - default to "/" | sin | -0/+2 | |
2014-02-10 | It doesn't really matter what we return - just signal failure | sin | -2/+1 | |
2014-02-10 | Add -Wextra and -Werror by default | sin | -1/+1 | |
2014-02-10 | Use proper type for iterator | sin | -1/+1 | |
2014-02-10 | Bump up to v0.6 | sin | -1/+1 | |
2014-02-10 | Remove signalfd include header | sin | -1/+0 | |
2014-02-10 | Use sigwait() instead of signalfd() | sin | -13/+3 | |
2014-02-10 | Unblock signals before exec | sin | -1/+3 | |
2014-02-10 | No need to typedef | sin | -11/+9 | |
2014-02-10 | Don't clutter code | sin | -8/+3 | |
2014-02-09 | Simplify naming of variables | sin | -11/+11 | |
2014-02-09 | Bump up to v0.5 | sin | -1/+1 | |
2014-02-08 | We can't reach the end of main, add a comment | sin | -0/+1 | |
2014-02-08 | Remove unused #includes | sin | -3/+0 | |
2014-02-08 | No need to use select() - we only have one fd | sin | -19/+7 | |
2014-02-08 | Remove Arg - it is a leftover from when we had the FIFO code | sin | -15/+10 | |
2014-02-07 | Bump up to v0.4 | sin | -1/+1 | |
2014-02-07 | No need for sigfd to be defined at file scope | sin | -2/+1 | |
2014-02-07 | *p points to program name | sin | -1/+1 | |
2014-02-07 | signum is unused - get rid of it | sin | -2/+0 | |
2014-02-07 | It was Rich Felker who did the minimal init - give proper credit | sin | -2/+2 | |
2014-02-07 | Close signalfd fd on exec | sin | -1/+1 | |
2014-02-07 | Don't nest too much | sin | -11/+13 | |
2014-02-07 | We'll get a SIGCHLD so no need to double-fork | sin | -7/+0 | |
2014-02-07 | Update README | sin | -3/+5 | |
2014-02-07 | Bump up to v0.3 | sin | -1/+1 | |
2014-02-07 | Don't process incomplete reads | sin | -0/+2 | |
If that can ever happen... | ||||
2014-02-07 | Some more error checking just to be sure | sin | -5/+8 | |
2014-02-07 | Poweroff on SIGUSR1 | sin | -2/+10 | |
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 | |