[CRIU] Re: [PATCH 5/6] tty: Update tty verification procedure
Pavel Emelyanov
xemul at parallels.com
Wed Oct 17 06:20:37 EDT 2012
On 10/17/2012 12:32 AM, Cyrill Gorcunov wrote:
>
> 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>
> ---
> include/tty.h | 2 +-
> tty.c | 21 ++++++++++++++++-----
> 2 files changed, 17 insertions(+), 6 deletions(-)
>
> @@ -18,7 +18,7 @@ extern int collect_tty(void);
> extern int prepare_shared_tty(void);
> extern int tty_setup_slavery(void);
>
> -extern int tty_verify_active_pairs(void);
> +extern int tty_verify_active_pairs();
>
> extern int tty_prep_fds(void);
> extern void tty_fini_fds(void);
Huh?
More information about the CRIU
mailing list