[CRIU] [PATCH 1/5] vdso: image -- Add VMA_AREA_VVAR flag

Cyrill Gorcunov gorcunov at gmail.com
Tue Jun 10 08:39:46 PDT 2014


On Tue, Jun 10, 2014 at 07:35:00PM +0400, Pavel Emelyanov wrote:
> On 06/06/2014 06:07 PM, Cyrill Gorcunov wrote:
> > Will need it to handle vvar zones in a special way.
> > 
> > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > ---
> >  include/image.h | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/include/image.h b/include/image.h
> > index d95eaa9d5a18..461401471d9f 100644
> > --- a/include/image.h
> > +++ b/include/image.h
> > @@ -53,6 +53,7 @@
> >  #define VMA_AREA_SOCKET		(1 <<  11)
> >  
> >  #define VMA_UNSUPP		(1 <<  12)	/* Unsupported VMA */
> > +#define VMA_AREA_VVAR		(1 <<  13)
> 
> The unsupp flag doesn't go to images, while all the others do. Can
> we shift this guy to bit 31 and occupy the 12th for VVAR?

Sure.


More information about the CRIU mailing list