[CRIU] Re: [PATCH 4/6] tty: Rework tty entry verification

Pavel Emelyanov xemul at parallels.com
Fri Sep 14 08:08:04 EDT 2012


On 09/14/2012 02:38 PM, Cyrill Gorcunov wrote:
> 
> tty entries might have no parameters assigned if they
> are hanging on closed master, we should take into
> account when we do verify them.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  tty.c |   55 +++++++++++++++++++++++++++++++++++++++++++------------
>  1 files changed, 43 insertions(+), 12 deletions(-)
> 

> +	if (!pty_is_master(info)) {
> +		if (info->tie->sid || info->tie->pgrp)
> +			pr_err("Found sid %d pgrp %d on slave peer %x\n",
> +			       info->tie->sid, info->tie->pgrp, info->tfe->id);

return -1 lost?

> +	}



More information about the CRIU mailing list