Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A jail/sandbox system used to test code uploaded by anyone safely

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 AUTHORS
Octocat-spinner-32 CMakeLists.txt
Octocat-spinner-32 COPYING
Octocat-spinner-32 README.rst
Octocat-spinner-32 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.