Commit Graph

89 Commits

Author SHA1 Message Date
openharmony_ci
82a23350af
!369 Add:针对读取param进行权限管控
Merge pull request !369 from 熊磊/CJ_0303
2022-03-07 06:47:28 +00:00
handyohos
ae14f15d09 bugfix: paramservice can not trim quoted strings.
1)优化LoadDefaultParam_函数,支持读取超过4K的字符
2)解析每一行的value时,去掉字符串的双引号
3)优化WriteParam函数,允许dataIndex输出参数为空,简化不必要的参数定义

Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I61f2dcb685b3f990f7177529171b6245b73d0a6a

#I4WCJW
2022-03-06 12:24:24 +08:00
xionglei6
9ab3e1f8c8 fix:增加selinux属性校验
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-03-05 14:38:10 +08:00
xionglei6
c0e607a07e fix:增加selinux属性校验
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-03-04 20:45:45 +08:00
xionglei6
ac7539efcd Merge branch 'CJ_0303' of https://gitee.com/xionglei6/startup_init_lite into CJ_0303 2022-03-04 15:28:23 +08:00
xionglei6
7a27244f1d fix:增加selinux属性校验
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-03-04 15:27:37 +08:00
xlei1030
355d7f49a0 修改库名
Signed-off-by: xlei1030 <xionglei6@huawei.com>
2022-03-04 11:59:25 +08:00
xionglei6
d7f51edac1 fix:增加selinux属性校验
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-03-04 10:02:46 +08:00
xionglei6
f85f4abfea fix:增加selinux属性校验
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-03-03 22:20:56 +08:00
xlei1030
b2c6632340 针对读取param进行权限管控
Signed-off-by: xlei1030 <xionglei6@huawei.com>
2022-03-03 19:45:17 +08:00
xionglei6
25efa2eb5e fix:修改init_agent的目录权限
修改init_agent的目录权限
解决trigger check问题

Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-02-25 16:10:40 +08:00
openharmony_ci
814ebf0535
!334 添加bootchart功能
Merge pull request !334 from 熊磊/bootchart
2022-02-22 08:39:38 +00:00
xionglei6
f8ab0f7367 fix param_watcher start mode
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-02-22 10:26:57 +08:00
xionglei6
de2dfe5a97 fix: code ReviewBot
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-02-21 20:59:36 +08:00
openharmony_ci
2c3c7104cc
!317 fix: 修复代码静态检查(0216)
Merge pull request !317 from 熊磊/init0216xyt
2022-02-16 07:26:15 +00:00
xionglei6
1a6444ec54 fix: codex
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-02-16 11:20:31 +08:00
xionglei6
d84843f66a fix: code ReviewBot
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-02-12 17:57:46 +08:00
xionglei6
ce79ebd3b4 init: add func
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-01-30 14:51:28 +08:00
openharmony_ci
6228d2816a
!278 fix:L1 compile warning
Merge pull request !278 from 熊磊/init127_3
2022-01-28 06:56:15 +00:00
xionglei6
c64a6e55bd init: fix format
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-01-27 17:14:45 +08:00
xionglei6
41fa081b19 init: fix L1 compile warning
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-01-27 16:58:42 +08:00
xionglei6
4193543e28 init: fix bugs
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-01-27 15:18:20 +08:00
x00405909
1e532210f5 适配musl库的参数dac检测
Signed-off-by: x00405909 <xionglei6@huawei.com>
Change-Id: Ic9f3185be28cd7342e927aaf4110cecec71fb49b
2022-01-26 20:42:49 +08:00
x00405909
3e78c22066 适配musl库 的参加dac检测
Signed-off-by: x00405909 <xionglei6@huawei.com>
Change-Id: I3cdb0fb295f002fb131433fb714061070740e07c
2022-01-26 20:36:35 +08:00
xionglei6
d29d51de05 init: optimize code
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-01-26 15:41:46 +08:00
xionglei6
17d558aef8 init: add func
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-01-19 16:08:48 +08:00
openharmony_ci
88235bf007
!235 删除use_musl的判断
Merge pull request !235 from 熊磊/0115
2022-01-15 10:00:37 +00:00
x00405909
4ba4b48554 删除use_musl的判断
Signed-off-by: x00405909 <xionglei6@huawei.com>
Change-Id: Ie548efd627b8f763d5fbea60363331c1040a4bca
2022-01-15 15:40:10 +08:00
xionglei6
00ec5ee43d modify: misc_daemon and param_dac
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2022-01-13 17:55:21 +08:00
Karol Grydziuszko
f2722dc1a8 Removed unused library dependency.
Signed-off-by: Karol Grydziuszko <karol.grydziuszko@huawei.com>
Change-Id: I49e40ed342e9f9a852204ea99756bb996baacd89
2021-12-31 12:45:43 +01:00
openharmony_ci
d5e25f6533 !216 添加支持关机充电特性
Merge pull request !216 from zhaoruiyuan/master
2021-12-31 10:19:18 +00:00
toutes
30ee3f1461 fix animation and battery event
Signed-off-by: toutes <zhaoruiyuan2@huawei.com>
2021-12-31 17:43:08 +00:00
handyohos
950be7eaff bugfix: optimize link libraries for init.
去掉libbegetutil对libcrypto_static的无效依赖,修改libsyspara_watcher对ipc_core的依赖为ipc_single。

Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I02d1c74154991752ff5ee98a1485ba7c6b202981
2021-12-30 22:09:13 +08:00
handyohos
aa5092d2c0 Build qemu-arm-linux-min system
Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I04a27f98a1778ec8a4323d8f340f55fafe907b9a
2021-12-17 22:04:50 +08:00
xionglei6
5c18b15949 init: fix bugs
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2021-12-13 14:15:42 +08:00
xionglei6
6d92989848 init: fix reviewbot
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2021-12-13 11:48:05 +08:00
xionglei6
a0bef94581 init: fix codedex
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2021-12-13 11:27:54 +08:00
handyohos
2eaeba40bf Add begetctl to reduce commands
Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I69f9f2cd8a21cfa5d89853e808c8ea640d4d8219
2021-12-07 20:08:47 +08:00
xionglei6
9dc6229f3b init: fix reviewbot
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2021-11-29 19:01:07 +08:00
xionglei6
de150e9310 init: fix codedex
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2021-11-29 14:26:36 +08:00
xionglei6
2ba8983131 init: fix bugs
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2021-11-16 10:38:26 +08:00
xionglei6
09f6e68b10 init: fix code style
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2021-11-11 22:27:34 +08:00
xionglei6
5f00c53227 init: fix code style
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2021-11-11 20:12:19 +08:00
xionglei6
72d579a5b9 init: fix ueventd param fsmanager
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2021-11-11 15:37:48 +08:00
xionglei6
cbf190be39 add ut
Signed-off-by: xionglei6 <xionglei6@huawei.com>
2021-11-03 09:35:08 +08:00
zhong_ning
03a48b969e modify copyright date
Signed-off-by: zhong_ning <zhong_ning@hoperun.com>
2021-10-20 09:22:28 +08:00
openharmony_ci
77b2875a0a !142 feat:重构代码
Merge pull request !142 from 熊磊/init1014
2021-10-19 06:42:47 +00:00
411148299@qq.com
220326bd54 fix code style
Signed-off-by: 411148299@qq.com <411148299@qq.com>
2021-10-18 12:51:37 +08:00
zmx
d7b08c88df samgr part name rectify
Signed-off-by: zmx <1029211721@qq.com>
Change-Id: I9c9bf6ceb2cb43093eeaebb22117c272b7042cc5
2021-10-18 11:50:57 +08:00
411148299@qq.com
b6ef25b4e5 fix code style
Signed-off-by: 411148299@qq.com <411148299@qq.com>
2021-10-16 15:15:04 +08:00