Re: [PATCH 28/49] tty: Add a new file /proc/tty/consoles

From: Christoph Hellwig
Date: Sat Oct 23 2010 - 07:46:12 EST


On Fri, Oct 22, 2010 at 11:21:07AM -0700, Greg Kroah-Hartman wrote:
> From: Dr. Werner Fink <werner@xxxxxxx>
>
> Add a new file /proc/tty/consoles to be able to determine the registered
> system console lines. If the reading process holds /dev/console open at
> the regular standard input stream the active device will be marked by an
> asterisk. Show possible operations and also decode the used flags of
> the listed console lines.

Err, no way we can put in code that walks the fd table and poke into
random private data for a magic number.

NAK.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/