You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* `PHP <http://www.php.net>`_ >= 5 (only if you plan to run a contest allowing PHP);
54
-
55
-
* `PyYAML <http://pyyaml.org/wiki/PyYAML>`_ >= 3.10 (only for Importer);
55
+
* `PyYAML <http://pyyaml.org/wiki/PyYAML>`_ >= 3.10 (only for some importers);
56
56
57
57
* `BeautifulSoup <http://www.crummy.com/software/BeautifulSoup/>`_ >= 3.2 (only for running tests);
58
58
@@ -64,7 +64,17 @@ These are our requirements (in particular we highlight those that are not usuall
64
64
65
65
* `Sphinx <http://sphinx-doc.org/>`_ (only for building documentation).
66
66
67
-
You will also require a Linux kernel with support for control groups and namespaces. Support has been in the Linux kernel since 2.6.32, and is provided by Ubuntu 12.04 and later. Other distributions, or systems with custom kernels, may not have support enabled. At a minimum, you will need to enable the following Linux kernel options: ``CONFIG_CGROUPS``, ``CONFIG_CGROUP_CPUACCT``, ``CONFIG_MEMCG`` (previously called as ``CONFIG_CGROUP_MEM_RES_CTLR``), ``CONFIG_CPUSETS``, ``CONFIG_PID_NS``, ``CONFIG_IPC_NS``, ``CONFIG_NET_NS``.
67
+
You will also require a Linux kernel with support for control groups and namespaces. Support has been in the Linux kernel since 2.6.32, and is provided by Ubuntu 12.04 and later. Other distributions, or systems with custom kernels, may not have support enabled. At a minimum, you will need to enable the following Linux kernel options: ``CONFIG_CGROUPS``, ``CONFIG_CGROUP_CPUACCT``, ``CONFIG_MEMCG`` (previously called as ``CONFIG_CGROUP_MEM_RES_CTLR``), ``CONFIG_CPUSETS``, ``CONFIG_PID_NS``, ``CONFIG_IPC_NS``, ``CONFIG_NET_NS``. It is anyway suggested to use Linux kernel version at least 3.8.
68
+
69
+
Then you require the compilation and execution environments for the languages you will use in your contest:
70
+
71
+
* `GNU compiler collection <https://gcc.gnu.org/>`_ (for C, C++ and Java, respectively with executables ``gcc``, ``g++`` and ``gcj``);
72
+
73
+
* `Free Pascal <http://www.freepascal.org/>`_ (for Pascal, with executable ``fpc``);
74
+
75
+
* `Python <http://www.python.org/>`_ >= 2.7, < 3.0 (for Python, with executable ``python2``; note though that this must be installed anyway because it is required by CMS itself);
76
+
77
+
* `PHP <http://www.php.net>`_ >= 5 (for PHP, with executable ``php5``).
68
78
69
79
All dependencies can be installed automatically on most Linux distributions.
70
80
@@ -83,7 +93,7 @@ On Ubuntu 14.04, one will need to run the following script to satisfy all depend
@@ -131,6 +140,9 @@ You can verify to be in the group by issuing the command:
131
140
132
141
groups
133
142
143
+
.. warning::
144
+
145
+
Users in the group ``cmsuser`` will be able to launch the ``isolate`` program with root permission. They may exploit this to gain root privileges. It is then imperative that no untrusted user is allowed in the group ``cmsuser``.
0 commit comments