Commit Graph

402 Commits

Author SHA1 Message Date
cheng_jinsong
01ff09c36d feature vendor init
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-05-29 12:39:49 +08:00
openharmony_ci
df6c6a449f !1982 【轻量级 PR】:fix:change version 4.0.7.5
Merge pull request !1982 from aizehua/N/A
2023-05-26 11:57:33 +08:00
openharmony_ci
f2416faecd
!1973 添加root包ut
Merge pull request !1973 from cheng_jinsong/init_ut
2023-05-24 06:01:20 +00:00
cheng_jinsong
3461d269ad 添加root包ut
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-05-24 09:48:28 +08:00
chengjinsong2
878521d0c4 fuzztest 不通过
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
2023-05-22 18:55:57 +08:00
cheng_jinsong
f683e4794d L0 no log
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
Change-Id: I0d8e3c6028b46a7d8edef1b657977e70713d74ed
2023-05-11 18:30:04 -07:00
openharmony_ci
97d2280067
!1927 FIX:修改UT无断言问题
Merge pull request !1927 from cheng_jinsong/0428_ut
2023-05-05 08:20:12 +00:00
chengjinsong2
75edcc56f7 修改UT无断言
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
2023-05-05 14:58:35 +08:00
cheng_jinsong
63dd79ca75 sys event add
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-04-27 09:08:36 +08:00
cheng_jinsong
9b10379326 stop service in 15s
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-04-24 13:57:11 +08:00
cheng_jinsong
83d6df467b add init trace
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-04-20 14:50:58 +08:00
chengjinsong2
2f2c26eb3f 修改虚假断言
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
2023-04-18 11:43:52 +08:00
openharmony_ci
434f03e074
!1886 FIX:修改udid获取方式
Merge pull request !1886 from cheng_jinsong/0407_udid
2023-04-10 12:23:25 +00:00
chengjinsong2
189d735b8f 修改udid获取流程
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
2023-04-10 18:14:08 +08:00
openharmony_ci
4015ea8fdf
!1835 支持进程级seccomp策略机制使能
Merge pull request !1835 from 夏不白/seccomp_process_level_copy
2023-04-08 09:19:05 +00:00
xiacong
37614c588a feat:支持进程级seccomp策略机制使能
1. 合并了配置文件
2. 封装了ohos_prebuilt_seccomp模板接口,可供其它模块使用
3. 将seccomp策略动态库放在/lib(64)/seccomp中
4. 将seccomp的设置位置放在了setuid之前,setgid,setgroups之后
5. 输出基线黑名单,并在解析配置文件中时检验
6. 支持检验可使用黑名单的进程
7. 支持native进程的差异化seccomp策略使能
8. 支持检验native进程seccomp动态库名称是否合法
9. 增加统计系统调用的工具

Signed-off-by: xiacong <xiacong4@huawei.com>
Change-Id: Ie6d85c20c128e2966e8d35e747adf04f5d714508
Signed-off-by: xiacong <xiacong4@huawei.com>
2023-04-08 11:05:42 +08:00
openharmony_ci
2a67c7c484
!1884 需求:deviceinfo 按需停止
Merge pull request !1884 from cheng_jinsong/deviceinfo
2023-04-08 00:55:23 +00:00
cheng_jinsong
4a2f986618 stop deviceinfo
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-04-07 17:46:35 +08:00
openharmony_ci
c5f976ea28
!1873 FIX:libbegetutil 对外接口精简
Merge pull request !1873 from cheng_jinsong/0403_begetutil
2023-04-07 06:59:42 +00:00
chengjinsong2
04221b124d libbegetutil 对外接口精简
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
2023-04-07 11:12:39 +08:00
openharmony_ci
a4325cadc5
!1868 需求:提供service status pid 通知
Merge pull request !1868 from cheng_jinsong/servicestate
2023-04-06 13:15:58 +00:00
cheng_jinsong
9a683b2dfa service pid
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-04-04 14:25:58 +08:00
chengjinsong2
47cd86868b 修改lite_os UT失败
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
2023-04-03 19:35:10 +08:00
openharmony_ci
35bcf293e2
!1850 init ut 内存释放
Merge pull request !1850 from cheng_jinsong/init-ut
2023-03-30 06:24:43 +00:00
许云通
8dbdb97772
[revert]
Signed-off-by: 许云通 <scorpion_xyt@outlook.com>
2023-03-28 06:37:39 +00:00
cheng_jinsong
848a365e07 Merge branch 'master' of gitee.com:openharmony/startup_init_lite into init-ut
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-03-27 01:23:44 +00:00
wanxin
9510e1fcd5 去除fd过量打印
Signed-off-by: wanxin <wanxin11@huawei.com>
2023-03-25 15:12:43 +08:00
cheng_jinsong
e63b8cb7c3 init ut memory
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-03-24 11:39:17 +08:00
openharmony_ci
f8a2471ce9
!1793 新增接口GetCachedParameter
Merge pull request !1793 from cheng_jinsong/init-cached
2023-03-21 10:38:01 +00:00
openharmony_ci
ff178adfc0
!1823 fix:Eliminate the dependency on the compilation path of bin hdf_core
Merge pull request !1823 from Zhang/master
2023-03-16 06:19:38 +00:00
zhang
3c7e0135dc fix:Eliminate the dependency on the compilation path of bin hdf_core
Signed-off-by: zhang <zhangfengxi@huawei.com>
2023-03-10 11:26:08 +08:00
chen_cai
16a96bff2e avoid fuzztest crash
Signed-off-by: chen_cai <chen_cai001@hoperun.com>
Change-Id: Ib5efa5a5825a5c2daa833d8e9e007ffb2e6afeff
2023-03-08 14:20:33 +08:00
openharmony_ci
83fee9464b
!1789 seccomp测试用例提高接口覆盖率
Merge pull request !1789 from 夏不白/seccomp_coverage
2023-03-07 08:55:45 +00:00
cheng_jinsong
d1051ecb44 add interface for cached parameter
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-03-01 14:09:04 +08:00
xiacong
f4c79d98a6 <fix>
覆盖率版本屏蔽dlclose操作,使其不发生段错误

Signed-off-by: xiacong <xiacong4@huawei.com>
Change-Id: I11e45a6151ce7ae84312ebb96b778f30d0d664a3
Signed-off-by: xiacong <xiacong4@huawei.com>
2023-02-28 12:47:30 +08:00
chengjinsong2
d84fe250f4 修改编码规范
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
2023-02-17 16:17:37 +08:00
cheng_jinsong
b70ec053e1 fix ut
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
Change-Id: I01b30b0979c296df3ac44d0db0ea7b77d37d10ae
2023-02-09 03:32:36 -08:00
limingkang
64d500834d 告警清理
Signed-off-by: limingkang <limingkang1@huawei.com>
Change-Id: I9b5ffda7df62edc283ed0eb4e3a27c8a04a16789
2023-02-08 16:29:30 +08:00
xiacong
1090e04e7b <feat>
增强DFX能力,进程被seccomp机制拦截而崩溃时,留下上下文信息
在relase版本的root版本增加系统参数,用于控制seccomp机制的开关,release的user版本不支持seccomp开关能力

Signed-off-by: xiacong <xiacong4@huawei.com>
Change-Id: I57efe5d4b25f60ca6cd07373aa147a1f4f2af234
Signed-off-by: xiacong <xiacong4@huawei.com>
2023-02-03 18:09:10 +08:00
cheng_jinsong
52e5af66ea fix control_fd bugs
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-01-29 11:48:26 +08:00
openharmony_ci
e93900e639
!1592 系统优化:readparam性能优化
Merge pull request !1592 from cheng_jinsong/init-readpara
2022-12-15 03:52:12 +00:00
cheng_jinsong
c8bc7c81e8 read paramerter 性能优化
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-12-14 14:23:00 +08:00
openharmony_ci
d3c5f0e4f2
!1621 解耦产品配置hal层依赖
Merge pull request !1621 from zk/master
2022-12-12 09:13:45 +00:00
zk
fcaf6ae6a0 解耦产品配置hal层依赖
Signed-off-by: zk <longzhuokun1@huawei.com>
2022-12-12 12:04:07 +08:00
cheng_jinsong
02b4a78f89 read param 优化
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-12-07 15:19:00 +08:00
cheng_jinsong
1f9ee78a8f readparam
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-12-06 08:51:47 +08:00
cheng_jinsong
4196553d86 fix init ut
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
Change-Id: I337acf74ac24a20c7d7d15e88d7f2eca4d5141e5
2022-12-04 22:03:34 -08:00
openharmony_ci
d6ba6273c7
!1530 Fix: init review检视意见修改
Merge pull request !1530 from cheng_jinsong/init_1118
2022-11-25 02:59:39 +00:00
openharmony_ci
faa8423435
!1553 去除与平台有关的ut用例的判断
Merge pull request !1553 from Mupceet/master_cc_fix_ut
2022-11-24 01:57:24 +00:00
cheng_jinsong
ed01798ead delete ambiguous ut check
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-11-23 18:27:26 +08:00