From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756114Ab0JWLqI (ORCPT ); Sat, 23 Oct 2010 07:46:08 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:49333 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754766Ab0JWLqH (ORCPT ); Sat, 23 Oct 2010 07:46:07 -0400 Date: Sat, 23 Oct 2010 07:46:04 -0400 From: Christoph Hellwig To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, "Dr. Werner Fink" , Alan Cox Subject: Re: [PATCH 28/49] tty: Add a new file /proc/tty/consoles Message-ID: <20101023114604.GA23814@infradead.org> References: <20101022175112.GC13489@kroah.com> <1287771688-14805-28-git-send-email-gregkh@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1287771688-14805-28-git-send-email-gregkh@suse.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 22, 2010 at 11:21:07AM -0700, Greg Kroah-Hartman wrote: > From: Dr. Werner Fink > > 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.