[PATCH 3/3] tty: Add get- ioctls to fetch tty status v3

2012-10-24 Thread Cyrill Gorcunov
From: Cyrill Gorcunov 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 - TIOCGPKT to get packet mode state - TIOCGPTLCK

[patch 3/3] tty: Add get- ioctls to fetch tty status v3

2012-10-16 Thread gorcunov
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 - TIOCGPKT to get packet mode state - TIOCGPTLCK to get Pty locked state

[patch 3/3] tty: Add get- ioctls to fetch tty status v3

2012-09-27 Thread Cyrill Gorcunov
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 - TIOCGPKT to get packet mode state - TIOCGPTLCK to get Pty locked state