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 move help text from include/usage.src.h to console-tools/*.c 2011-03-28 02:51:01 +02:00
clear.c move help text from include/usage.src.h to console-tools/*.c 2011-03-28 02:51:01 +02:00
Config.src Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX" 2011-02-26 22:24:08 +01:00
deallocvt.c move help text from include/usage.src.h to console-tools/*.c 2011-03-28 02:51:01 +02:00
dumpkmap.c move help text from include/usage.src.h to console-tools/*.c 2011-03-28 02:51:01 +02:00
fgconsole.c move help text from include/usage.src.h to console-tools/*.c 2011-03-28 02:51:01 +02:00
kbd_mode.c move help text from include/usage.src.h to console-tools/*.c 2011-03-28 02:51:01 +02:00
Kbuild.src *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
loadfont.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
loadkmap.c move help text from include/usage.src.h to console-tools/*.c 2011-03-28 02:51:01 +02:00
openvt.c move help text from include/usage.src.h to console-tools/*.c 2011-03-28 02:51:01 +02:00
reset.c move help text from include/usage.src.h to console-tools/*.c 2011-03-28 02:51:01 +02:00
resize.c move help text from include/usage.src.h to console-tools/*.c 2011-03-28 02:51:01 +02:00
setconsole.c setconsole: open console for writing rather than reading 2011-05-29 01:51:33 +02:00
setkeycodes.c move help text from include/usage.src.h to console-tools/*.c 2011-03-28 02:51:01 +02:00
setlogcons.c move help text from include/usage.src.h to console-tools/*.c 2011-03-28 02:51:01 +02:00
showkey.c move help text from include/usage.src.h to console-tools/*.c 2011-03-28 02:51:01 +02:00