[CRIU] [PATCH 3/7] tty: Save task current terminal if present

Pavel Emelyanov xemul at virtuozzo.com
Tue Jan 31 09:37:57 PST 2017


On 01/31/2017 03:00 PM, Cyrill Gorcunov wrote:
> On Tue, Jan 31, 2017 at 02:29:40PM +0300, Pavel Emelyanov wrote:
>>>  
>>>  	optional int32			oom_score_adj	= 14;
>>> +	optional int32			tty_nr		= 15;
>>> +	optional int32			tty_pgrp	= 16;
>>
>> Both are write-only in this set.
> 
> Yes. And as changelog says it is for future use. To support
> proper restore of /dev/tty inheritance.

Reserving fields is done with comments in .proto files ;)



More information about the CRIU mailing list