X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=default.cfg;h=b9ca7b177da47d842563004b655121621ea26c13;hb=28c3aa2bd73958557fc5e5441bcb7a2a2ca1c375;hp=699a89dc122770928756ddf61ab009b91e2fafdf;hpb=1034a0c76f50ddfe278313a813097bf32c1d400c;p=moe.git diff --git a/default.cfg b/default.cfg index 699a89d..b9ca7b1 100644 --- a/default.cfg +++ b/default.cfg @@ -6,9 +6,21 @@ 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"); +UnSet("CONFIG_UCW_UTILS"); +UnSet("CONFIG_UCW_UTILS"); Set("CONFIG_LOCAL"); Set("CONFIG_DIR", "cf");