[CRIU] [PATCH 2/4] tty: Dump a hanging up terminal

Cyrill Gorcunov gorcunov at openvz.org
Thu Sep 13 13:14:46 EDT 2012


If we've met a hanging up terminal we can escape
lot of work but dump a minimum information needed
for restore.

For this sake tty_get_sid_pgrp melds in two previous
helpers tty_get_sid, tty_get_pgrp and informs the
caller that tty is hanging up.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 tty.c |   64 +++++++++++++++++++++++++++++++++++++---------------------------
 1 files changed, 37 insertions(+), 27 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-tty-Dump-a-hanging-up-terminal.patch
Type: text/x-patch
Size: 2323 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120913/ae811950/0002-tty-Dump-a-hanging-up-terminal.bin


More information about the CRIU mailing list