Online judge sandbox based on seccomp | OnlineJudge 安全沙箱
Go to file
virusdefender 3aed8b78a2 Merge branch 'fix_sandbox'
* fix_sandbox:
  update test.c
  drop whole exexce rule
  fix error exception name which casued segment fault
  add extra syscalls to enable glibc init
  add extra rules for execve
  add seccomp in runner
2016-01-20 16:14:36 +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
readme delete sandbox.c 2016-01-20 16:14:14 +08:00
runner.c drop whole exexce rule 2016-01-20 15:48:30 +08:00
runner.h add seccomp in runner 2016-01-20 11:00:05 +08:00
setup.py add seccomp in runner 2016-01-20 11:00:05 +08:00
test.c update test.c 2016-01-20 15:53:31 +08:00

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