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

Pavel Emelyanov xemul at parallels.com
Wed Oct 10 08:22:57 EDT 2012


On 10/10/2012 04:20 PM, Cyrill Gorcunov wrote:
> On Tue, Oct 09, 2012 at 08:03:23PM +0400, Pavel Emelyanov wrote:
>>> @@ -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?
> 
> Huh what?
> 


What is this for?


More information about the CRIU mailing list