Commit Graph

222 Commits

Author SHA1 Message Date
virusdefender
1b3f8de5e5 fix error data type in Python binding 2017-08-14 13:53:57 +08:00
LiYang
50da8734d5 add demo 2017-07-11 12:36:02 +08:00
LiYang
8949f9d798 support lseek 2017-06-12 22:35:30 +08:00
李扬
4afc83008e Merge pull request #12 from QingdaoU/write_empty_file
do not allow open with write permission
2017-06-03 08:34:54 +08:00
virusdefender
454af29318 simplify general rules 2017-05-30 15:55:44 +08:00
virusdefender
6f2126c50b do not allow open with write permission 2017-05-28 16:44:08 +08:00
LiYang
cb9f0ab4c1 add sysinfo to syscall whitelist 2017-05-22 23:27:03 +08:00
LiYang
9826ecc678 only calculate user space cpu time 2017-05-22 23:22:26 +08:00
LiYang
9fd357a5ed copy test args 2017-05-22 22:04:41 +08:00
virusdefender
3f60f3bb00 add support for writev sys call 2017-05-22 10:49:10 +08:00
virusdefender
817275e13d add debug level 2017-05-20 09:55:05 +08:00
李扬
48da00080e Merge pull request #11 from QingdaoU/limit_stack_size
add stack size limit
2017-05-06 18:54:15 +08:00
virusdefender
099ec07db7 add stack size limit 2017-05-06 12:16:58 +08:00
李扬
137f6863e8 Merge pull request #10 from QingdaoU/py3
Fix Python3 binding and add Python3 ci
2017-04-30 21:09:21 +08:00
virusdefender
0b1c8ad5fc Python3 use unicode and Python2 use string 2017-04-30 20:34:00 +08:00
李扬
e6c6e7c121 Merge pull request #9 from ShadowPower/newnew
Make binding compatible with Python 3
2017-04-30 13:02:46 +08:00
ShadowPower
f31135d3a0 fixed reference count 2017-04-30 12:29:34 +08:00
ShadowPower
2deba8dcca Make binding compatible with Python 3 2017-04-30 02:57:55 +08:00
xudianc
3046fde4b4 替换_BSD_SOURCE (#7) 2017-03-31 14:02:14 +08:00
virusdefender
c015447307 add args and env number limit 2016-11-05 09:27:51 +08:00
李扬
f0cda9f569 Merge pull request #6 from avaicode/newnew
Lua binding's style and compatibility
2016-10-27 21:04:33 +08:00
LiYang
4d64577e55 add lseek to white list 2016-10-27 01:51:47 +08:00
avaicode
52535d7de8 Lua binding's style and compatibility
- Now it support both lua 5.1 and 5.3(5.2 for sure)
- Constant is provided in another way
2016-10-26 21:17:12 +08:00
李扬
a6143a9ad2 add slack notification 2016-10-26 11:40:10 +08:00
LiYang
db099f584c 重构测试结构 2016-10-24 23:01:55 +08:00
LiYang
278dbe44f8 forget to init result field 2016-10-24 22:04:04 +08:00
Yanghe Sun
121cb2d089 Port to lua is written (#5)
Lua binding by @avaicode

 - Missing break between table and nil added
 - Fixed many small things int the port to Lua
 - Now it will check if args and env is a true list
 - Rename judge to run(the same as python's binding)
 - Removed a useless argument
2016-10-24 11:19:48 +08:00
LiYang
9e290f6db6 增加output_limit的测试 2016-10-23 01:56:53 +08:00
LiYang
b71625bedb 完善general规则 2016-10-23 01:56:35 +08:00
LiYang
7b61b9f9db add general seccomp rules 2016-10-16 03:46:01 +08:00
LiYang
c2520c9c1f 修复部分typo并增加了Python binding中的部分常量 2016-10-13 22:26:51 +08:00
LiYang
f1b02a0361 重构seccomp部分 2016-10-07 20:35:45 +08:00
LiYang
de0b62e61a 使用原生fork模式 2016-10-07 19:25:55 +08:00
LiYang
191b4bda0d 重构seccomp部分 2016-10-07 17:19:41 +08:00
LiYang
87719790b3 回滚Python引用计数的部分代码,可能会导致部分内存异常释放的 2016-10-07 14:58:09 +08:00
LiYang
2c03f35b73 增加dlerror()的日志记录 2016-10-07 10:38:17 +08:00
LiYang
ce88c9c897 update doc url 2016-10-06 15:30:41 +08:00
LiYang
f5151da178 update readme 2016-10-05 14:43:03 +08:00
LiYang
66798a0fe4 fix typo 2016-10-05 00:06:50 +08:00
LiYang
5539bd9934 增加wa和spj_error的code 2016-10-04 23:23:34 +08:00
LiYang
2d09134192 fix typo 2016-10-04 12:59:30 +08:00
LiYang
d23bacd8d5 尝试修复Python binding中的部分内存泄露 2016-10-03 23:33:05 +08:00
LiYang
5a89bc363f 修复coverity扫描发现的问题 2016-09-30 23:12:30 +08:00
LiYang
b4c1fc1885 测试用例中gcc编译去掉static flag 2016-09-28 13:14:45 +08:00
LiYang
4ee0cde0d3 fix bugs in resource limit check 2016-09-02 18:27:47 +08:00
LiYang
8e5b45adea fix some typo 2016-09-02 17:33:48 +08:00
LiYang
95c18f41a7 add math test case and use -static flag by default 2016-08-27 22:04:46 +08:00
LiYang
e9ee465516 add dlclose 2016-08-27 21:25:49 +08:00
LiYang
4bf7c4765a First version README [ci skip] 2016-08-27 12:00:15 +08:00
LiYang
d9b448a508 修改部分变量名 2016-08-26 22:14:50 +08:00