mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
fbc92a3455
tty: add 'active' sysfs attribute to tty0 and console device Userspace can query the actual virtual console, and the configured console devices behind /dev/tt0 and /dev/console. The last entry in the list of devices is the active device, analog to the console= kernel command line option. The attribute supports poll(), which is raised when the virtual console is changed or /dev/console is reconfigured. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> index 0000000..b138b66 |
||
---|---|---|
.. | ||
vt | ||
Makefile | ||
n_gsm.c | ||
n_hdlc.c | ||
n_r3964.c | ||
n_tty.c | ||
pty.c | ||
sysrq.c | ||
tty_audit.c | ||
tty_buffer.c | ||
tty_io.c | ||
tty_ioctl.c | ||
tty_ldisc.c | ||
tty_mutex.c | ||
tty_port.c |