Commit Graph

243 Commits

Author SHA1 Message Date
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
Mupceet
771c12a080 init: add bootevent
Signed-off-by: Mupceet <laiguizhong@huawei.com>
2022-08-09 14:29:29 +08:00
Mupceet
deddf477e1 init: add system plugin adapter
Signed-off-by: Mupceet <laiguizhong@huawei.com>
2022-08-08 22:44:08 +08:00
an_xinwei
5edb049d85 support build musl with param base
Signed-off-by: an_xinwei <an_xinwei@hoperun.com>
2022-08-08 08:54:45 +08:00
openharmony_ci
cd728edfba
!1010 modify samgr part-name
Merge pull request !1010 from huangxiaolinabc123/802
2022-08-06 04:19:51 +00:00
openharmony_ci
1ac4e17110
!947 系统优化:修改服务状态支持int
Merge pull request !947 from Mupceet/initservice
2022-08-03 08:25:46 +00:00
openharmony_ci
2f1f2b1abf
!961 【OpenHarmony开源贡献者计划2022】fix warning: unused function 'OnClose'
Merge pull request !961 from rtos_jie/close
2022-08-02 06:46:42 +00:00
Mupceet
a13cb30379 Merge branch 'master' of gitee.com:openharmony/startup_init_lite into initservice
Signed-off-by: Mupceet <laiguizhong@huawei.com>
2022-08-02 05:54:57 +00:00
huangxiaolinabc123
df33c90ab9 modify samgr
Signed-off-by: huangxiaolinabc123 <huangxiaolin12@huawei.com>
Change-Id: I42750146aec5a41a27d95fc849b5ccff62bff909
2022-08-02 11:17:46 +08:00
openharmony_ci
db4f395bde
!974 【OpenHarmony开源贡献者计划2022】 修改单词拼写错误
Merge pull request !974 from Mupceet/init_725
2022-08-02 02:59:34 +00:00
xiacong
0dedfb601c <fix>
修复seccomp的unittest部分编译报错的问题

<body>
在源文件中行将handler修改成Handler

Signed-off-by: xiacong <xiacong4@huawei.com>
2022-08-02 09:56:48 +08:00
openharmony_ci
425eed390a
!980 使能系统进程seccomp-bpf策略
Merge pull request !980 from 夏不白/seccomp_init
2022-08-01 13:00:33 +00:00
xiacong
caa016e82c <feat>
新增特性:系统进程沙盒环境支持Seccomp-BPF

<body>
输出系统进程的系统调用配置文件,其中appspawn与nwebspawn采用独立的配置文件,其它系统进程为一套
提供解析系统调用配置文件的脚本
提供使能seccomp-bpf策略的接口
编译前利用脚本解析配置文件,生成对应的seccomp-bpf策略代码,并生成独立的动态库

Signed-off-by: xiacong <xiacong4@huawei.com>
2022-08-01 19:45:22 +08:00
openharmony_ci
e8a8502c9d
!933 fscrypt: add file crypto implementation
Merge pull request !933 from qilongzhang/dev_0713
2022-08-01 07:38:03 +00:00
zhangqilong
3d01c25c58 fscrypt:fix init unittest compile failed
Signed-off-by: zhangqilong <zhangqilong3@huawei.com>
Change-Id: I1d4def8c08dd4f54ae48191340c4c36ba319b8a8
2022-07-30 10:48:59 +08:00
openharmony_ci
9bb0cb0b06
!998 ut适配ipc删除TOKEN_NATIVE类型
Merge pull request !998 from Mupceet/master_cc_ut
2022-07-29 11:35:24 +00:00