[CRIU] [PATCH v3 09/16] fdinfo: ARTIFICIAL fd type introduced

Stanislav Kinsburskiy skinsbursky at odin.com
Mon Dec 14 03:17:53 PST 2015



14.12.2015 12:10, Pavel Emelyanov пишет:
> On 12/10/2015 06:16 PM, Stanislav Kinsburskiy wrote:
>> Will be used to distinguish between service descriptors and noreman ones.
>>
>> Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
>> ---
>>   protobuf/fdinfo.proto |    1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/protobuf/fdinfo.proto b/protobuf/fdinfo.proto
>> index ac80f62..eec8cd6 100644
>> --- a/protobuf/fdinfo.proto
>> +++ b/protobuf/fdinfo.proto
>> @@ -17,6 +17,7 @@ enum fd_types {
>>   	TUNF		= 15;
>>   	EXT		= 16;
>>   	TIMERFD		= 17;
>> +	ARTIFICIAL	= 18;
> This type never gets into images, so there should be no such constant in
> images description.

The intention was to highlight such files in restore log to distinguish 
between other files and them.
I can drop them, but what should be the replacement?


>>   }
>>   
>>   message fdinfo_entry {
>>
>> _______________________________________________
>> CRIU mailing list
>> CRIU at openvz.org
>> https://lists.openvz.org/mailman/listinfo/criu
>> .
>>



More information about the CRIU mailing list