[CRIU] [PATCH 3/9] protobuf: Prepare scaffolds for procfs NS entries

Cyrill Gorcunov gorcunov at openvz.org
Fri May 17 10:24:03 EDT 2013


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?


More information about the CRIU mailing list