Re: [RFC] tty: Add get- ioctls to fetch tty status

From: Jiri Slaby
Date: Thu Sep 13 2012 - 07:46:53 EST


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*?

thanks,
--
js
suse labs
--
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/