Online judge sandbox based on seccomp | OnlineJudge 安全沙箱
Go to file
2016-01-20 15:27:12 +08:00
.gitignore update 2016-01-12 19:10:22 +08:00
demo.py add demo.py 2016-01-15 20:31:36 +08:00
judger.c fix error exception name which casued segment fault 2016-01-20 15:27:12 +08:00
Makefile rename 2016-01-13 12:00:09 +08:00
readme update readme 2016-01-15 20:38:11 +08:00
runner.c add extra syscalls to enable glibc init 2016-01-20 15:25:48 +08:00
runner.h add seccomp in runner 2016-01-20 11:00:05 +08:00
sandbox.c exit when failed to load seccomp rules 2016-01-18 14:14:34 +08:00
setup.py add seccomp in runner 2016-01-20 11:00:05 +08:00
test.c fix error return value 2016-01-16 01:26:40 +08:00

make
sudo python setup.py install
touch in out
gcc test.c -o test
python demo.py