[CRIU] [PATCH 3/9] protobuf: Prepare scaffolds for procfs NS entries
Pavel Emelyanov
xemul at parallels.com
Fri May 17 10:28:23 EDT 2013
On 05/17/2013 06:24 PM, Cyrill Gorcunov wrote:
> On Fri, May 17, 2013 at 05:58:13PM +0400, Pavel Emelyanov wrote:
>>> +
>>> +message ns_file_entry {
>>> + required uint32 id = 1;
>>> + required uint32 ns_id = 2;
>>> + required ns_types type = 3;
>>
>> This field should contain respective CLONE_FLAG, not some yet another IDx for namespace.
>
> This makes no sense, the flags are taken from descriptors we've hardcoded
> in code. Or you prefer me to write CLONE_ here and then on restore check
> that CLONE is not screwed in image?
Yes.
> .
>
More information about the CRIU
mailing list