Adel Aly
db6aa2c9f7
Get rid of zombie processes
...
Sleep is in seconds not milliseconds.
This long sleep in the tests creates a zombie process that lives on and has to be killed manually. 10 seconds should be more than enough for the test as real time is 3seconds.
2020-06-14 19:15:21 -04:00
virusdefender
be90480732
allow clock_gettime syscall
2019-07-27 17:11:06 +08:00
rainboy
0aec31f8ea
add nodejs test 1 ✅
2019-04-26 15:28:35 +08:00
virusdefender
b6414e7a67
use docker to run tests
2018-06-09 15:00:13 +08:00
virusdefender
66e6e32ebd
add memory limit check only
2018-03-23 18:10:00 +08:00
李扬
b417a62efc
Merge pull request #19 from QingdaoU/args
...
fix memory
2017-12-21 21:09:48 +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
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
zemal
be9d4d04e7
fix a bug in logger; fix test warnings
2017-08-17 11:04:42 +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
099ec07db7
add stack size limit
2017-05-06 12:16:58 +08:00
virusdefender
0b1c8ad5fc
Python3 use unicode and Python2 use string
2017-04-30 20:34:00 +08:00
LiYang
db099f584c
重构测试结构
2016-10-24 23:01:55 +08:00
LiYang
9e290f6db6
增加output_limit的测试
2016-10-23 01:56:53 +08:00
LiYang
7b61b9f9db
add general seccomp rules
2016-10-16 03:46:01 +08:00
LiYang
f1b02a0361
重构seccomp部分
2016-10-07 20:35:45 +08:00
LiYang
191b4bda0d
重构seccomp部分
2016-10-07 17:19:41 +08:00
LiYang
b4c1fc1885
测试用例中gcc编译去掉static flag
2016-09-28 13:14:45 +08:00
LiYang
95c18f41a7
add math test case and use -static flag by default
2016-08-27 22:04:46 +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
69713edb78
初步完成Python binding
...
增加单元测试基础
2016-08-21 18:53:21 +08:00
virusdefender
1a7aadef82
new version
2016-07-25 11:19:22 +08:00
virusdefender
8ff369c9b1
修复setgid之后还带有root组的问题,并增加测试18
2016-06-28 14:32:56 +08:00
spxcds
df0cc40750
修复setitimer无法限制子进程时间的BUG, 增加测试17
2016-05-02 13:55:18 +08:00
virusdefender
2577bec965
增加不限制时间和内存的选项
2016-03-31 19:24:07 +08:00
virusdefender
4315efac56
fix wrong path in tests
2016-03-31 18:33:58 +08:00
virusdefender
62619ae9da
完善测试;修改部分异常原因的写法
2016-03-18 13:12:20 +08:00
virusdefender
e54f95b3de
增加部分参数检查
2016-03-18 12:42:46 +08:00
virusdefender
78cfd92740
修复部分情况下getpwnam的调用失败的问题
2016-03-18 11:50:10 +08:00
virusdefender
54bdc8f564
fix typo
2016-03-18 10:23:22 +08:00
virusdefender
03e425b0d6
增加参数检查测试
2016-03-18 10:14:14 +08:00
virusdefender
656c04f35a
fix typo
2016-03-17 21:58:07 +08:00
virusdefender
c855c8ada3
测试用例增加了部分说明
2016-03-02 19:36:26 +08:00
virusdefender
307ce133fc
将使用nobody参数分离出来
2016-03-02 19:36:14 +08:00
virusdefender
b6255b4c96
返回 exit_status 并增加相关测试用例
2016-02-02 11:53:42 +08:00
virusdefender
35704a39a3
delete error test cases
2016-02-01 21:37:09 +08:00
virusdefender
4758b09c2b
redirect stderr to stdout
2016-02-01 20:58:13 +08:00