Commit Graph

59 Commits

Author SHA1 Message Date
virusdefender
78d5d6388a fix unused warning 2016-01-23 15:36:34 +08:00
virusdefender
741a4c5541 delete error field 2016-01-23 15:34:48 +08:00
virusdefender
7bc08802b3 add set_uid and set_id, root required 2016-01-23 15:05:24 +08:00
virusdefender
7cd5d5d41a add default value for use_sandbox 2016-01-23 14:51:37 +08:00
virusdefender
f30b0a4d56 use ValueError instead of judger.error 2016-01-22 15:30:42 +08:00
virusdefender
9a120eb2a1 update demo 2016-01-22 10:13:38 +08:00
virusdefender
7285a16ce2 update use_sandbox option 2016-01-22 10:11:16 +08:00
virusdefender
da1a446946 add use_sandbox parameter 2016-01-22 10:01:08 +08:00
virusdefender
11ace673e2 child process raise signal when error occurred; add some check 2016-01-21 23:36:39 +08:00
virusdefender
e89530b95a add seccomp rule for syscall write 2016-01-20 21:07:51 +08:00
virusdefender
c87ba29500 Merge branch 'master' into fix_sandbox 2016-01-20 20:17:15 +08:00
virusdefender
c44ff13736 args list and env list parameters now support default value 2016-01-20 20:13:48 +08:00
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
virusdefender
5e2c37532f delete sandbox.c 2016-01-20 16:14:14 +08:00
virusdefender
194edfe2b9 update test.c 2016-01-20 15:53:31 +08:00
virusdefender
d2f84abd69 drop whole exexce rule 2016-01-20 15:48:30 +08:00
virusdefender
c2ff40af99 fix error exception name which casued segment fault 2016-01-20 15:27:12 +08:00
virusdefender
90856dc24f add extra syscalls to enable glibc init 2016-01-20 15:25:48 +08:00
virusdefender
3457a6c72a add extra rules for execve 2016-01-20 11:25:23 +08:00
virusdefender
a5001be6a6 add seccomp in runner 2016-01-20 11:00:05 +08:00
virusdefender
4a185ab480 print -> log 2016-01-19 13:48:46 +08:00
virusdefender
274712bcf8 update judger exception name 2016-01-18 14:41:57 +08:00
virusdefender
b3b89fbf02 exit when failed to load seccomp rules 2016-01-18 14:14:34 +08:00
virusdefender
b93995f3d2 delete some syscalls 2016-01-16 02:35:29 +08:00
virusdefender
c979cd8e22 fix return value 2016-01-16 01:39:46 +08:00
virusdefender
7017b1838a add some comment 2016-01-16 01:31:26 +08:00
virusdefender
ed3dc97ce2 fix error return value 2016-01-16 01:26:40 +08:00
virusdefender
7bb0b0b50b add some error check 2016-01-16 01:24:51 +08:00
virusdefender
bda9ae43d3 update readme 2016-01-15 20:38:11 +08:00
virusdefender
1543cf3947 add readme 2016-01-15 20:33:07 +08:00
virusdefender
42d09fd7bc add demo.py 2016-01-15 20:31:36 +08:00
virusdefender
08cd7141c2 update test.c format 2016-01-15 20:31:28 +08:00
virusdefender
d5cfab829c fix python format 2016-01-13 12:57:47 +08:00
virusdefender
0cc6afcfb4 rename 2016-01-13 12:00:09 +08:00
virusdefender
8bd85224df fix format string 2016-01-13 11:57:31 +08:00
virusdefender
495a58b129 Merge branch 'master' of https://git.coding.net/virusdefender/judger
* 'master' of https://git.coding.net/virusdefender/judger:
  add whitelist
2016-01-13 11:57:08 +08:00
virusdefender
54bd029d93 add whitelist 2016-01-13 11:56:41 +08:00
virusdefender
d77ccc1295 add some missing headers 2016-01-13 10:01:06 +08:00
virusdefender
fb96e31733 add args and env list 2016-01-12 23:51:11 +08:00
virusdefender
71b64d2aff add sandbox 2016-01-12 22:15:07 +08:00
virusdefender
865ad36a9c update 2016-01-12 19:22:18 +08:00
virusdefender
5a6043101a del makefile 2016-01-12 19:11:34 +08:00
virusdefender
156bb2044e update 2016-01-12 19:10:22 +08:00
virusdefender
72e7b6b5e8 update 2016-01-12 19:04:16 +08:00
virusdefender
7f3d100827 update python binding 2016-01-12 18:23:56 +08:00
virusdefender
a24c071181 move macros to .h 2016-01-12 16:40:28 +08:00
virusdefender
2f5181503d try to add python binding 2016-01-12 16:09:18 +08:00
virusdefender
d38e3f10c2 add err default value 2016-01-11 23:29:13 +08:00
virusdefender
ade585c576 add debug log 2016-01-11 23:10:11 +08:00
virusdefender
ccf04ba501 delete test.c 2016-01-11 18:18:31 +08:00