summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-02-26 17:27:24 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-02-26 17:27:24 +0000
commit559a8893841d3126e5a1cf2490cee8f34cb65d7a (patch)
tree33f555e63e4482a70c4b9f034b0975fd8ebff53e /doc
parenteb5b5d843d4584f6e3548b1de069126deb3edb69 (diff)
downloads6-linux-init-559a8893841d3126e5a1cf2490cee8f34cb65d7a.tar.xz
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')
0 files changed, 0 insertions, 0 deletions