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