[CRIU] [PATCH 11/14] tty: Update tty verification procedure

Cyrill Gorcunov gorcunov at openvz.org
Mon Oct 15 10:54:54 EDT 2012


We need to make sure that the only one external tty
is present, since otherwise we have no idea on which
pts index to connect them on restore.

This patch extends tty_verify_active_pairs procedure to
count how many external tty is present in the dump image.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-dump.c     |    2 +-
 include/tty.h |    2 +-
 tty.c         |   23 +++++++++++++++++------
 3 files changed, 19 insertions(+), 8 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-tty-Update-tty-verification-procedure.patch
Type: text/x-patch
Size: 1790 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20121015/c3a8cb71/0011-tty-Update-tty-verification-procedure.bin


More information about the CRIU mailing list