]> mj.ucw.cz Git - moe.git/blobdiff - default.cfg
Isolate: Cleanups, configuration and TODO
[moe.git] / default.cfg
index 6e35e176851f4eb2b483339cbc577011a9437d9b..b9ca7b177da47d842563004b655121621ea26c13 100644 (file)
@@ -6,6 +6,16 @@ Set("CONFIG_SUBMIT" => 1);
 # Build MO-P contest environment
 Set("CONFIG_MOP" => 1);
 
+# If you are running a 64-bit Linux kernel, you need to build a 64-bit
+# sandbox and decide whether your userspace is 32- or 64-bit.
+Set("CONFIG_BOX_KERNEL_AMD64" => 1);
+#Set("CONFIG_BOX_USER_AMD64" => 1);
+
+# Hard-coded configuration parameters of the process isolator
+Set("CONFIG_ISOLATE_BOX_DIR", "/tmp/box");
+Set("CONFIG_ISOLATE_BOX_UID", 60000);
+Set("CONFIG_ISOLATE_BOX_GID", 60000);
+
 # Settings of libucw
 UnSet("CONFIG_SHARED");
 UnSet("CONFIG_UCW_THREADS");