Commit Graph

181 Commits

Author SHA1 Message Date
virusdefender
cc1fc4a3e2 ref result check function 2017-10-14 21:46:07 +08:00
virusdefender
64eeead91e fix multi bugs
- wrong function return type in Python binding
 - wrong argument number in logger.h
 - add unlimit value check for stack size limit
2017-10-14 21:05:49 +08:00
李扬
fa2ea94eb6 Merge pull request #16 from QingdaoU/errno
add system errno
2017-09-01 13:27:15 +08:00
virusdefender
dbd8aa7e87 add system errno 2017-08-30 16:43:42 +08:00
李扬
20bcbf0fd7 Merge pull request #15 from QingdaoU/openat_rule
Openat rule
2017-08-30 09:42:35 +08:00
zema1
e15806026b simplify write_file_openat.c 2017-08-30 08:46:48 +08:00
zema1
850040e21d add openat seccomp rule 2017-08-30 08:38:16 +08:00
李扬
679994e8df Merge pull request #14 from QingdaoU/bug_fix
fix a bug in logger; fix test warnings
2017-08-17 11:14:13 +08:00
zemal
be9d4d04e7 fix a bug in logger; fix test warnings 2017-08-17 11:04:42 +08:00
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