[CRIU] Re: [PATCH 8/9] tty: restore -- Verify active pairs on restore

Pavel Emelyanov xemul at parallels.com
Tue Oct 9 12:03:23 EDT 2012


On 10/09/2012 07:40 PM, Cyrill Gorcunov wrote:
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  tty.c |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 


> @@ -856,6 +856,8 @@ static int collect_one_tty(void *obj, ProtobufCMessage *msg)
>  	if (verify_info(info))
>  		return -1;
>  
> +	tty_test_and_set(info->tfe->tty_info_id, tty_active_pairs);
> +
>  	pr_info("Collected tty ID %#x\n", info->tfe->id);
>  
>  	list_add(&info->list, &all_ttys);

Huh?


More information about the CRIU mailing list