Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A jail/sandbox system used to test code uploaded by anyone safely
C++ C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
test
.gitignore
AUTHORS
CMakeLists.txt
COPYING
README.rst
TODO

README.rst

Prolojail

Prolojail is a sandboxing system used by Prologin to execute untrusted code sent by the contestants to check if their algorithm gives the correct output for some given input.

The security comes from three major elements:

  • A strict time limit is set for the program execution, avoiding infinite loops and slow problem solutions.
  • A memory limit established by watching brk/sbrk/mmap syscalls to compute the currently used heap size.
  • A syscall whitelist to forbid execution of other programs, network activity, file reading/writing in strange places (/etc for example) and a lot of other things which could be achieved via syscalls.

This system is released under the BSD license.

Something went wrong with that request. Please try again.