X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fissupported.c;fp=lib%2Fissupported.c;h=cb7bcba3838116fb97f790c6cf232363c99c26d0;hb=8a3f3a69bb09b7b9bf63dd623c4993b02cfe021f;hp=35cd9f2b34a3087563a6d08123c73908beb3956f;hpb=0cfbc91382279794682fbe6dac45fd05d2f29d5a;p=util-vserver.git diff --git a/lib/issupported.c b/lib/issupported.c index 35cd9f2..cb7bcba 100644 --- a/lib/issupported.c +++ b/lib/issupported.c @@ -52,6 +52,7 @@ vc_isSupported(vcFeatureSet feature) case vcFEATURE_PIVOT_ROOT : return ver >= 0x00020304; case vcFEATURE_PIDSPACE : return false; case vcFEATURE_MEMCG : return ver >= 0x00020306 && conf & VC_VCI_MEMCG; + case vcFEATURE_DYNAMIC : return ver < 0x00020300 || !(conf & VC_VCI_NO_DYNAMIC); default : assert(false); }