diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-02-26 17:27:24 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-02-26 17:27:24 +0000 |
| commit | 559a8893841d3126e5a1cf2490cee8f34cb65d7a (patch) | |
| tree | 33f555e63e4482a70c4b9f034b0975fd8ebff53e /doc/s6-linux-init.html | |
| parent | eb5b5d843d4584f6e3548b1de069126deb3edb69 (diff) | |
| download | s6-linux-init-559a8893841d3126e5a1cf2490cee8f34cb65d7a.tar.gz | |
Simplify kbrequest management
- the ioctl never works on /dev/console, so trying to use it on stdin
is useless.
- /dev/tty0 always exists in a devtmpfs, so the late test is okay.
It works on serial consoles too. If no devtmpfs, creating a correct
/dev/tty0 is the responsibility of the integrator.
- Also added SIGINT blocking before disablecad, to avoid potential
early panic. For it to work on kernels without signalfd, it requires
the skalibs commit that unblocks selfpipe-trapped signals when not
using signalfd.
- No such block is needed for kbrequest, because the default action
for SIGWINCH is ignore, not terminate.
Diffstat (limited to 'doc/s6-linux-init.html')
0 files changed, 0 insertions, 0 deletions
