Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sio2project/sio2jail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sio2jail

building

You need a CMake, a C/C++ compiler with multilib support, python2 and a number of libraries (see below). To build sio2jail and install binary files into ./bin/ directory run:

mkdir build && cd build

cmake -DCMAKE_BUILD_TYPE=Release ..
make && make install

Our sio2jail uses some external libraries:

  • libcap
  • libseccomp (>= 2.3.0)
  • libtclap

which you can install (e.g. on Debian) with:

apt-get install libcap-dev libtclap-dev libseccomp-dev

You may need to run

sysctl -w kernel.perf_event_paranoid=-1
sysctl -w kernel.unprivileged_userns_clone=1

or to enable these options in your /etc/sysctl.conf in order to run sio2jail.

running tests

To run test suit, firstly build project and install files into ./bin/ directory. Then then run main.py executable, e.g:

./test/testsuits/main.py

Remember that many tests will work only on 3.* kernels versions.

About

A tool for supervising execution of programs submitted in algorithmic competitions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 11