]> mj.ucw.cz Git - eval.git/blob - default.cfg
1c6b762ca62aa08e39dce7b8fa91b38539209cf0
[eval.git] / default.cfg
1 # Default configuration file for MO-Eval
2
3 # Compile the submit server
4 Set("CONFIG_SUBMIT" => 1);
5
6 # Build MO-P contest environment
7 Set("CONFIG_MOP" => 1);
8
9 # If you are running a 64-bit Linux kernel, you need to build a 64-bit
10 # sandbox and decide whether your userspace is 32- or 64-bit.
11 Set("CONFIG_BOX_KERNEL_AMD64" => 1);
12 #Set("CONFIG_BOX_USER_AMD64" => 1);
13
14 ### Hard-coded configuration parameters of the process isolator ###
15
16 # A directory under which all sandboxes are created
17 Set("CONFIG_ISOLATE_BOX_DIR", "/tmp/box");
18
19 # Range of UIDs and GIDs reserved for use by the sandboxes
20 Set("CONFIG_ISOLATE_FIRST_UID", 60000);
21 Set("CONFIG_ISOLATE_FIRST_GID", 60000);
22 Set("CONFIG_ISOLATE_NUM_BOXES", 100);
23
24 # Root of the cgroup hierarchy
25 Set("CONFIG_ISOLATE_CGROUP_ROOT", "/sys/fs/cgroup");
26
27 ### Settings of libucw
28 UnSet("CONFIG_SHARED");
29 UnSet("CONFIG_UCW_THREADS");
30 UnSet("CONFIG_UCW_UTILS");
31 UnSet("CONFIG_UCW_UTILS");
32 Set("CONFIG_LOCAL");
33 Set("CONFIG_DIR", "cf");
34
35 # Return success
36 1;