[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] setconsole: open console for writing rather than reading
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2011-05-28 23:52:04
Message-ID: 201105290152.04799.vda.linux () googlemail ! com
[Download RAW message or body]

On Thursday 26 May 2011 17:51, Peter Korsgaard wrote:
> 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>

Applied, thanks!
-- 
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic