Commit Graph

158 Commits

Author SHA1 Message Date
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
LiYang
be50b98f66 增加版本号 2016-08-26 21:50:45 +08:00
LiYang
b3fc087c8f 增加seccomp相关测试;增加mmap规则 2016-08-26 21:20:41 +08:00
LiYang
46cd78bb1b 增加编译器测试 2016-08-25 12:22:46 +08:00
LiYang
9ef795258f 增加内存测试3 2016-08-25 10:13:23 +08:00
LiYang
efaf2675df 重构测试结构 2016-08-25 09:40:45 +08:00
LiYang
9eaf64ffe2 增加集成测试和部分超时测试 2016-08-23 14:45:13 +08:00
LiYang
055af3fab9 增加一些测试用例 2016-08-23 13:28:22 +08:00
LiYang
fc6ae2e8a0 seccomp_rule_so_path可以为NULL 2016-08-22 13:15:19 +08:00
LiYang
4b55b84f5f 修补重名问题;增加部分常量 2016-08-22 12:55:47 +08:00
LiYang
c28ef97aa5 修复编译器警告 2016-08-21 19:46:57 +08:00
LiYang
f1073c40b2 替换部分变量名 2016-08-21 19:08:52 +08:00
LiYang
69713edb78 初步完成Python binding
增加单元测试基础
2016-08-21 18:53:21 +08:00
virusdefender
0ec206bb4b add makefile 2016-07-25 11:21:56 +08:00
virusdefender
1a7aadef82 new version 2016-07-25 11:19:22 +08:00