Commit Graph

258 Commits

Author SHA1 Message Date
cheng_jinsong
402571600f add hookmgr and modelmgr moduletest case
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
Change-Id: Ifddf0441df80a92a6b0e6418274d4c55a0a234a7
2022-09-13 02:45:39 -07:00
openharmony_ci
81fe75d821
!1219 codex
Merge pull request !1219 from cheng_jinsong/codex
2022-09-13 06:48:39 +00:00
openharmony_ci
fdaf83db49
!1211 伴随selinux的修改,更新fd测试程序
Merge pull request !1211 from cheng_jinsong/update_fd
2022-09-13 03:24:39 +00:00
openharmony_ci
f9ff0c09aa
!1206 实时打开workspace
Merge pull request !1206 from cheng_jinsong/verifyworkspace
2022-09-13 01:37:24 +00:00
cheng_jinsong
f04001b38d Merge branch 'master' of gitee.com:openharmony/startup_init_lite into codex
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-09-09 07:47:27 +00:00
chengjinsong
be20fbfa3a codex
Signed-off-by: chengjinsong <chengjinsong2@huawei.com>
2022-09-09 15:43:23 +08:00
openharmony_ci
5e15e94f22
!1195 seccomp模块进程内存映射空间优化
Merge pull request !1195 from 夏不白/seccomp_so
2022-09-09 06:49:05 +00:00
xiacong
05cbb2d0f5 <fix>
优化进程内存映射空间,即设置seccomp策略后,解除策略so库在进程空间的映射
插件动态库删除,只使用插件静态库

Signed-off-by: xiacong <xiacong4@huawei.com>
Change-Id: Ifffc4db213d7c818303766169c2f9e16121b7b6a
Signed-off-by: xiacong <xiacong4@huawei.com>
2022-09-09 11:30:43 +08:00
ljc
026f05f9d5 伴随selinux的修改,更新fd[F测试程序
Signed-off-by: ljc <chengjinsong2@huawei.com>
2022-09-08 19:53:31 +08:00
cheng_jinsong
a802e446f4 实时打开workspace
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-09-08 11:52:55 +08:00
cheng_jinsong
3a8cefe5c9 解析后dump trigger
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-09-08 10:57:08 +08:00
openharmony_ci
b43d4803db
!1164 reboot支持hook
Merge pull request !1164 from cheng_jinsong/reboothook
2022-09-02 04:02:31 +00:00
openharmony_ci
30fc2ab6b8
!1179 fix build for 64
Merge pull request !1179 from cheng_jinsong/fixbuild
2022-09-02 02:54:17 +00:00
cheng_jinsong
43bffee27f fix 64 build
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-09-02 09:24:33 +08:00
cheng_jinsong
0b7cd8592e reboot hook
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-09-02 08:50:00 +08:00
cheng_jinsong
cd88a616f2
unittest
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-09-01 12:15:40 +00:00
openharmony_ci
fda05910d0
!1166 支持按属性标签的workspace可配置
Merge pull request !1166 from cheng_jinsong/workspace
2022-09-01 09:59:19 +00:00
openharmony_ci
3f5849c796
!1163 watcher支持多个回调
Merge pull request !1163 from cheng_jinsong/watchercallback
2022-09-01 08:01:14 +00:00
openharmony_ci
033c830d25
!1165 支持命令行显示trigger信息
Merge pull request !1165 from cheng_jinsong/dumptrigger
2022-08-31 09:17:46 +00:00
cheng_jinsong
09b41e4633 add multi callback for watcher
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-08-30 19:27:34 +08:00
cheng_jinsong
58edda8be6 Merge branch 'master' of gitee.com:openharmony/startup_init_lite into workspace
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-08-30 09:23:48 +00:00
cheng_jinsong
e36489b08d fix dump trigger
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-08-30 16:45:40 +08:00
cheng_jinsong
ae5ec35c24 fix workspace size
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-08-30 16:44:01 +08:00
openharmony_ci
c906d69bd6
!1093 app进程支持seccomp-BPF策略使能
Merge pull request !1093 from 夏不白/seccomp_app_v2
2022-08-27 07:08:00 +00:00
xiacong
92d40ab5dc <feat>
app进程沙盒支持seccomp-BPF

<body>
增加app进程的系统调用名单配置文件
增加app的进程使能分支
在配置文件中的带参数限制白名单项,增加返回结果,并在解析脚本编写相应的解析代码

Signed-off-by: xiacong <xiacong4@huawei.com>
Change-Id: Ifc17b661750d7070e17bc2a469c285ecb44d871a
Signed-off-by: xiacong <xiacong4@huawei.com>
2022-08-27 11:49:05 +08:00
cheng_jinsong
dee736cbe6 fix unittest
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
Change-Id: Ib9754624c4d130363dc3f536c3da432c253a5f87
2022-08-25 23:56:12 -07:00
openharmony_ci
43eec47999
!1131 A/B分区需求单元测试用例添加issue号
Merge pull request !1131 from cheng_jinsong/unittest
2022-08-25 03:27:11 +00:00
chengjinsong
3f602873b3 unittest
Signed-off-by: chengjinsong <chengjinsong2@huawei.com>
Change-Id: Icaf83073f1418b90d0ef513a6a7f72cc23e27a19
2022-08-24 16:35:49 +08:00
openharmony_ci
1d70b1f771
!1097 解决fuzztest用例未对测试输入处理的问题
Merge pull request !1097 from cheng_jinsong/master_cc_fuzz
2022-08-23 13:53:38 +00:00
cheng_jinsong
1af9b877ef fix fuzz test problem
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
Change-Id: I474f940bbb9f00d92d0645fcb0f885e464af3f54
2022-08-23 05:48:50 -07:00
openharmony_ci
8c999229c1
!1122 seccomp测试用例关联需求issue
Merge pull request !1122 from 夏不白/tdd_add_comment
2022-08-23 12:18:25 +00:00
openharmony_ci
e603d06530
!1113 unittest
Merge pull request !1113 from cheng_jinsong/unittest
2022-08-23 11:29:13 +00:00
xiacong
71972822e7 <fix>
tdd测试用例增加备注关联issue单号

Signed-off-by: xiacong <xiacong4@huawei.com>
2022-08-23 18:27:22 +08:00
openharmony_ci
2e4db6ee2a
!1109 修复代码静态检查(0822)
Merge pull request !1109 from cheng_jinsong/codex
2022-08-23 06:35:48 +00:00
chengjinsong
93e0c84822 codex
Signed-off-by: chengjinsong <chengjinsong2@huawei.com>
2022-08-23 13:01:21 +08:00
chengjinsong
3c0cf37118 unittest
Signed-off-by: chengjinsong <chengjinsong2@huawei.com>
Change-Id: I7636f5820a960b7b97f94edd84c0306f6cb7c2a4
2022-08-22 20:18:33 +08:00
xiacong
1e7a888e71 <fix>
seccomp模块tdd用例覆盖

<body>
seccomp模块innerkits接口bool SetSeccompPolicy(Policy Type)用例覆盖

Signed-off-by: xiacong <xiacong4@huawei.com>
Change-Id: I00bfef09a97ecce1ca33b5ca6c5fd0f29602ccb4
2022-08-22 19:31:00 +08:00
chengjinsong
c9fc516d05 codex
Signed-off-by: chengjinsong <chengjinsong2@huawei.com>
2022-08-22 17:27:04 +08:00
renwei
426368f9b7 clear init cap
Signed-off-by: renwei <renwei8@huawei.com>
Change-Id: I43705587af285cd2011de4f1b4f3e1a80069249c
2022-08-19 14:41:23 +08:00
openharmony_ci
955d01f7e8
!1068 编译parameterbase到musl
Merge pull request !1068 from Mupceet/buildformusl
2022-08-18 02:59:38 +00:00
openharmony_ci
b6093ae0f9
!1070 seccomp使能模块插件化
Merge pull request !1070 from 夏不白/seccomp_plugin
2022-08-16 14:55:21 +00:00
xiacong
ec6bb8b9b2 <feat>
将init部件中的seccomp模块插件化

<body>
将seccomp模块插件化
测试用例中删除openat2的使用 新增shmget系统调用使用
系统调用配置文件新增遗漏名单

Signed-off-by: xiacong <xiacong4@huawei.com>
Change-Id: I619c9e6ec36732355a478df8274359d23b8e493f
Signed-off-by: xiacong <xiacong4@huawei.com>
2022-08-16 21:24:42 +08:00
cheng_jinsong
9bedbfb7b6 fix init ut
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-08-16 14:18:42 +08:00
Mupceet
e0d5b080fc build for musl
Signed-off-by: Mupceet <laiguizhong@huawei.com>
2022-08-16 09:59:41 +08:00
cheng_jinsong
e4ef1f5f0f fix unittest
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
Change-Id: Ie420d5bc6e56250ed968d392468a0caa33049591
2022-08-15 01:19:12 -07:00
cheng_jinsong
f64fa2eb43 删除未使用常量
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-08-12 10:30:21 +08:00
Mupceet
49b9de3034 Merge branch 'master' of gitee.com:openharmony/startup_init_lite into initmusl1
Signed-off-by: Mupceet <laiguizhong@huawei.com>
2022-08-10 09:52:49 +00:00
openharmony_ci
dbf39231d8
!1047 optimize A/B partition startup
Merge pull request !1047 from cheng_jinsong/slot
2022-08-10 09:41:51 +00:00
chengjinsong
a3727e8327 slot
Signed-off-by: chengjinsong <chengjinsong2@huawei.com>
Change-Id: I1268dc5c0c03408956bb17214088a402b89e4ee9
2022-08-10 10:20:20 +08:00
Mupceet
b40fcca3ba Merge branch 'master' of gitee.com:openharmony/startup_init_lite into initmusl1
Signed-off-by: Mupceet <laiguizhong@huawei.com>
2022-08-09 08:57:19 +00:00