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

Cyrill Gorcunov gorcunov at openvz.org
Fri Sep 14 08:30:26 EDT 2012


On Fri, Sep 14, 2012 at 04:08:04PM +0400, Pavel Emelyanov wrote:
> 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?

yeah, missed while were rebasing it, will update.

	Cyrill


More information about the CRIU mailing list