{"rlimits/openfd.soft", &slr->vs_openfd.soft},
{"rlimits/openfd.min", &slr->vs_openfd.min},
- {"whitelisted", &slr->vs_whitelisted},
-
{"bcapabilities", NULL},
{0,0}
};
slr->vs_openfd.soft = VC_LIM_KEEP;
slr->vs_openfd.min = VC_LIM_KEEP;
- slr->vs_whitelisted = 1;
-
slr->vs_capabilities.bcaps = 0;
slr->vs_capabilities.bmask = 0;
slr->vs_capabilities.ccaps = 0;
struct vc_rlimit vs_as;
struct vc_rlimit vs_nproc;
struct vc_rlimit vs_openfd;
- unsigned long long vs_whitelisted;
struct vc_ctx_caps vs_capabilities;
};
#undef CONFIG_VSERVER_LEGACY
+#if 0
/* Base for all vserver roots for chroot */
#define VSERVER_ROOT_BASE "/vservers"
exit(1);
}
- /* check whether the slice has been taken off of the whitelist */
- if (slr.vs_whitelisted==0)
- {
- fprintf(stderr, "*** %s: %s has not been allocated resources on this node ***\n", hostname, context);
- exit(0);
- }
-
/* check whether the slice has been suspended */
if (slr.vs_cpu==0)
{
return 0; /* shutup compiler */
}
+#else
+int main(int argc, char *argv[])
+{
+
+ return 0;
+}
+#endif