index
:
sinit
master
A tiny static init(1) for Linux
Nick Shipp <nick@shipp.ninja>
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
sinit.c
Age
Commit message (
Expand
)
Author
Lines
2014-02-08
Remove Arg - it is a leftover from when we had the FIFO code
sin
-12
/
+7
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
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
Don't process incomplete reads
sin
-0
/
+2
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
-59
/
+3
2014-02-07
Don't leak the fifofd if we re-init the fifo
sin
-0
/
+2
2014-02-07
Refactor code
sin
-37
/
+86
2014-02-07
Allow fifopath to be NULL
sin
-0
/
+3
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
-18
/
+6
2014-02-06
rc has now been renamed to rc.init
sin
-1
/
+1
2014-02-06
Be less harsh and don't error out entirely
sin
-14
/
+14
2014-02-06
Initial commit
sin
-0
/
+129