Commit Graph

194 Commits

Author SHA1 Message Date
virusdefender
4abab494f7 修复一处可变参数语法的误用 2018-04-18 00:33:12 +08:00
virusdefender
c2923381e3 update to 2.0.1 2018-03-23 19:41:54 +08:00
virusdefender
66e6e32ebd add memory limit check only 2018-03-23 18:10:00 +08:00
zema1
4060c41384
Update README.md 2018-02-02 21:38:58 +08:00
李扬
b271e1cb43
Update demo.py 2017-12-26 22:20:13 +08:00
李扬
b417a62efc
Merge pull request #19 from QingdaoU/args
fix memory
2017-12-21 21:09:48 +08:00
李扬
27e0cc0d24
Merge pull request #20 from QingdaoU/execveat
add execveat to black list
2017-12-21 20:45:11 +08:00
virusdefender
72a387336a fix memory
add tests
2017-12-20 23:01:05 +08:00
virusdefender
821fc4a252 add execveat to black list 2017-12-20 21:17:55 +08:00
virusdefender
d7c8e51e1d update binding 2017-11-29 15:12:13 +08:00
zema1
f9a6db3287 fix python runtime error 2017-11-02 21:58:32 +08:00
zema1
de5f087bd7 Merge pull request #18 from QingdaoU/bug_fixes
Bug fixes
2017-10-19 21:10:03 +08:00
virusdefender
e9952f428b when child process calls CHILD_ERROR_EXIT, it should kill itself 2017-10-14 22:53:45 +08:00
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