[CRIU] [PATCH 6/6] tty: Add restoration of controlling terminal

Cyrill Gorcunov gorcunov at openvz.org
Tue Sep 11 09:17:53 EDT 2012


The idea behind is pretty simple -- once we find
that there is a controlling terminal present we
do call ioctl on appropriate /dev/pts/N.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 files.c          |    7 ++++
 include/pstree.h |    8 +++++
 include/tty.h    |    3 ++
 tty.c            |   92 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 110 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-tty-Add-restoration-of-controlling-terminal.patch
Type: text/x-patch
Size: 4615 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120911/5fcb76cb/0006-tty-Add-restoration-of-controlling-terminal.bin


More information about the CRIU mailing list