diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-06-25 22:35:06 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-06-25 22:35:06 +0000 |
commit | 60bd7b90a21690178c17b1a3daa671076fbed9d4 (patch) | |
tree | 56280f9dce44cead9105b8284fc37e396b0a4753 /tools | |
parent | 21cb73b507d27bcb101a1f3ae95312d22952988b (diff) | |
download | s6-linux-init-60bd7b90a21690178c17b1a3daa671076fbed9d4.tar.xz |
This was still racy as fuck, because redirfd -wnb is a dirty hack and
actually opens the fifo for reading, long enough for pid 2 to unblock!
So it must be called *before* the fork. Rewrote the init script logic;
found a nice way to factorize the redirect_stage2 impact.
This one's good... I think.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions