Commit Graph

222 Commits

Author SHA1 Message Date
virusdefender
4758b09c2b redirect stderr to stdout 2016-02-01 20:58:13 +08:00
virusdefender
0e5021b33d add gcc compile demo 2016-02-01 18:39:17 +08:00
virusdefender
b2bf385d5c fix compile warning 2016-02-01 18:35:31 +08:00
virusdefender
9ef79e8d9f add logger 2016-02-01 13:23:54 +08:00
virusdefender
e5933e7161 add license and thanks [ci skip] 2016-01-24 10:46:17 +08:00
virusdefender
dc6be928e7 update readme [ci skip] 2016-01-24 10:33:25 +08:00
virusdefender
77e522c279 add some tests 2016-01-24 10:22:30 +08:00
virusdefender
92d1f7fb61 add env test 2016-01-24 10:00:40 +08:00
virusdefender
baa924ec52 read test config from file 2016-01-23 21:50:22 +08:00
virusdefender
2299a0cd07 add args test 2016-01-23 19:09:17 +08:00
virusdefender
6eba6a912d update demo 2016-01-23 18:56:45 +08:00
virusdefender
018d2b2d73 Accept Merge Request #3 add tests : (tests -> master)
Merge Request: add tests
Created By: @virusdefender
Accepted By: @virusdefender
URL: https://coding.net/u/virusdefender/p/judger/git/merge/3
2016-01-23 18:19:40 +08:00
virusdefender
f7cad29eef add tests
Squash from a494eed to 1974b83 by virusdefender
2016-01-23 18:19:34 +08:00
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