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

Cyrill Gorcunov gorcunov at openvz.org
Wed Oct 10 08:31:05 EDT 2012


On Wed, Oct 10, 2012 at 04:22:57PM +0400, Pavel Emelyanov wrote:
> >>> +	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?
> > 
> > Huh what?
> 
> What is this for?

We mark read tty id in bitmap and later we do a verification
if say someone modified image and provide us two and more slave
external peers, and fails then.


More information about the CRIU mailing list