[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120913115157.GH19956@moon>
Date: Thu, 13 Sep 2012 15:51:57 +0400
From: Cyrill Gorcunov <gorcunov@...nvz.org>
To: Jiri Slaby <jslaby@...e.cz>
Cc: LKML <linux-kernel@...r.kernel.org>,
"H. Peter Anvin" <hpa@...or.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Pavel Emelyanov <xemul@...allels.com>
Subject: Re: [RFC] tty: Add get- ioctls to fetch tty status
On Thu, Sep 13, 2012 at 01:46:53PM +0200, Jiri Slaby wrote:
> On 09/13/2012 11:56 AM, Cyrill Gorcunov wrote:
> > For checkpoint/restore we need to know if tty has
> > exclusive or packet mode set, as well as if pty
> > is currently locked. Just to be able to restore
> > this characteristics.
> >
> > For this sake the following ioctl codes are introduced
> >
> > - TIOGPKT to get packet mode state
> > - TIOGPTLCK to get Pty locked state
> > - TIOGEXCL to get Exclusive mode state
>
> Hi! I have only a comment regarding the naming. Why not to follow TIOC*?
Hi Jiri, yeah, seems to be a good idea. I'll update if there will be no
objection about idea in general. Thanks!
Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists