]> mj.ucw.cz Git - moe.git/blobdiff - default.cfg
Doc: mo-eval.css is long gone
[moe.git] / default.cfg
index b9ca7b177da47d842563004b655121621ea26c13..a1fba31dfae4a062c12361a73e62cdab58758285 100644 (file)
@@ -1,4 +1,4 @@
-# Default configuration file for MO-Eval
+# Default configuration file for Moe
 
 # Compile the submit server
 Set("CONFIG_SUBMIT" => 1);
@@ -11,12 +11,20 @@ Set("CONFIG_MOP" => 1);
 Set("CONFIG_BOX_KERNEL_AMD64" => 1);
 #Set("CONFIG_BOX_USER_AMD64" => 1);
 
-# Hard-coded configuration parameters of the process isolator
+### Hard-coded configuration parameters of the process isolator ###
+
+# A directory under which all sandboxes are created
 Set("CONFIG_ISOLATE_BOX_DIR", "/tmp/box");
-Set("CONFIG_ISOLATE_BOX_UID", 60000);
-Set("CONFIG_ISOLATE_BOX_GID", 60000);
 
-# Settings of libucw
+# Range of UIDs and GIDs reserved for use by the sandboxes
+Set("CONFIG_ISOLATE_FIRST_UID", 60000);
+Set("CONFIG_ISOLATE_FIRST_GID", 60000);
+Set("CONFIG_ISOLATE_NUM_BOXES", 100);
+
+# Root of the cgroup hierarchy
+Set("CONFIG_ISOLATE_CGROUP_ROOT", "/sys/fs/cgroup");
+
+### Settings of libucw
 UnSet("CONFIG_SHARED");
 UnSet("CONFIG_UCW_THREADS");
 UnSet("CONFIG_UCW_UTILS");