Pid namespaces will come in 0x00020304.
[util-vserver.git] / lib / issupported.c
index 45b1c24..2f2510b 100644 (file)
@@ -47,6 +47,8 @@ vc_isSupported(vcFeatureSet feature)
     case vcFEATURE_VNET                :  return ver >= 0x00020001;
     case vcFEATURE_VSTAT       :  return ver >= 0x00020103;
     case vcFEATURE_PPTAG       :  return conf & VC_VCI_PPTAG;
+    case vcFEATURE_SPACES      :  return conf & VC_VCI_SPACES;
+    case vcFEATURE_PIDSPACE    :  return ver >= 0x00020304 || ver >= 0x00020201;
     default                    :  assert(false); 
   }