hush/console-tools
Peter Korsgaard 8dc6195c97 setconsole: open console for writing rather than reading
The console passed to TIOCCONS has to be writable, otherwise future
console writes will fail.

This presumably used to work, but in current kernels (see
drivers/tty/tty_io.c:redirected_tty_write) console writes are sent to
vfs_write(device), which checks if the device is writable. A quick look
in the linux git history doesn't show any recent changes to either tty_io
or vfs_write.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-05-29 01:51:33 +02:00
..
chvt.c
clear.c
Config.src
deallocvt.c
dumpkmap.c
fgconsole.c
kbd_mode.c
Kbuild.src
loadfont.c
loadkmap.c
openvt.c
reset.c
resize.c
setconsole.c setconsole: open console for writing rather than reading 2011-05-29 01:51:33 +02:00
setkeycodes.c
setlogcons.c
showkey.c