272 Commits

Author SHA1 Message Date
lwx1281857
73a87503ee Description:Code optimization
Feature or Bugfix:Bugfix
Binary Source:No

Signed-off-by: lwx1281857 <linnanmu@h-partners.com>
2024-06-11 20:11:09 +08:00
YinZong
a6c1faee56
修复seccomp_policy.c文件中多个错误返回值相同的问题
Signed-off-by: YinZong <gengyinzong@huawei.com>
2024-05-20 01:59:05 +00:00
the_big_blue_devil
964cf84d53 Signed-off-by:hanqiaosheng <hanqiaosheng@huawei.com> 2024-05-13 16:27:46 +08:00
YinZong
6c0e75e9ee
修复seccomp_policy.c文件中存在内存拷贝操作时访问越界问题
Signed-off-by: YinZong <gengyinzong@huawei.com>
2024-04-29 09:14:54 +00:00
openharmony_ci
ce601a804e
!2759 repair mem leak
Merge pull request !2759 from cat/master
2024-04-26 01:27:33 +00:00
cat
eaed55b921 Description:repair mem leak ande
Feature or Bugfix:Bugfix
Binary Source: No

Signed-off-by: cat <chenjinxiang3@huawei.com>
2024-04-24 08:07:16 +00:00
GengYinzong
1deddc09a8 修复seccomp文件中存在内存拷贝操作时访问越界
Signed-off-by: GengYinzong <gengyinzong@huawei.com>
Change-Id: Ide26b4b73b960f5785282da86d7a57176b09cb1d
2024-04-22 23:39:28 -07:00
lwx1281857
a9454463ec Description:update libunwind
Feature or Bugfix:Bugfix
Binary Source:No

Signed-off-by: lwx1281857 <linnanmu@h-partners.com>
2024-04-10 09:20:03 +08:00
chenshixu1
6c8cb918bc dep_cpl
Signed-off-by: chenshixu1 <chenshixu1@huawei.com>
Change-Id: Ib34476e954008886a37d75e3b51753f6b39d1956
2024-03-20 14:32:06 +08:00
chenshixu1
df05500b61 dep_cpl
Signed-off-by: chenshixu1 <chenshixu1@huawei.com>
Change-Id: I1e91900de1beecc28a54bab87f06715dd88b4d94
2024-03-09 08:52:35 +08:00
pxd2022
4b528d6703 support second vote
Signed-off-by: pxd2022 <pingxiandeng1@huawei.com>
2024-03-05 09:20:00 +00:00
pxd2022
d1c2ab136a skip elx
Signed-off-by: pxd2022 <pingxiandeng1@huawei.com>
2024-02-27 07:25:17 +00:00
Changbin Du
2db7ae30f9 Restorecon for "/data/log/startup/"
Now "/data/log/startup/" has its own label 'bootuptrace_file'.

Signed-off-by: Changbin Du <changbin.du@huawei.com>
2024-01-27 19:32:21 +08:00
liveery
af733f1b04 fix:stop all service when reboot other
Feature or Bugfix:Bugfix
Binary Source: No

Signed-off-by: liveery <liangming712@huawei.com>
2024-01-09 12:04:47 +00:00
openharmony_ci
b379f2033a
!2435 add riscv64 support
Merge pull request !2435 from PolyOS Project/master
2024-01-03 07:34:30 +00:00
Polyos Project (陈荣)
23091e953c add riscv64 support
Signed-off-by: Polyos Project (陈荣) <polyos@iscas.ac.cn>
2024-01-02 15:15:59 +08:00
liveery
76e9bc8e66 fix:cancel set all signal
Feature or Bugfix:Bugfix
Binary Source: No
2023-12-16 11:48:47 +00:00
mashuang
708d7a024d add shut detector
Signed-off-by: mashuang <mashuang13@huawei.com>
2023-12-11 17:11:10 +08:00
openharmony_ci
c0c344c76b
!2371 去除可切换namespace的系统调用
Merge pull request !2371 from 夏不白/container_restrict
2023-12-08 04:30:48 +00:00
xiacong
22d88d113b 去除应用进程setns unshare clone切换namespace相关系统调用
Signed-off-by: xiacong <xiacong4@huawei.com>
Change-Id: Ia67d6ad9c6376ab9f944a50f8b0066fde76ee380
Signed-off-by: xiacong <xiacong4@huawei.com>
2023-12-05 17:44:38 +08:00
openharmony_ci
64a5bce4da
!2392 fix:va_end_missing
Merge pull request !2392 from langsongping/master
2023-12-05 06:49:31 +00:00
langsongping
ee2a3a5d63 fix:va_end_missing
Signed-off-by: langsongping <langsongping1@huawei-partners.com>
2023-12-04 12:15:25 +00:00
jiangdi
441ab4575d
updater模式适配dhcp模块提供超时机制
Signed-off-by: jiangdi <jiangdi11@huawei.com>
2023-12-04 11:14:14 +00:00
wangjin165
aabf282ffc add -F arguments for restorecon in init
Signed-off-by: wangjin165 <wangjin165@huawei.com>
2023-11-23 09:49:16 +08:00
yanghang
9f155becf9 Fix:Add kernel and init time to DETAILED_TIME
Signed-off-by: yanghang <kongwei13@h-partners.com>
2023-11-20 20:23:25 +08:00
openharmony_ci
7c4663396a
!2328 FIX:解决部分环境编译问题
Merge pull request !2328 from 钟柠/1101_build
2023-11-07 07:07:33 +00:00
GengYinzong
8bfb475dd5 seccomp enhance
Signed-off-by: GengYinzong <gengyinzong@huawei.com>
Change-Id: Ieaa13af1f962aeda651dff91f2b8539dec29513b
2023-11-02 01:33:49 -07:00
zhongning5
411ddf0811 解决部分环境编译问题
Signed-off-by: zhongning5 <zhongning5@huawei.com>
2023-11-01 16:30:46 +08:00
openharmony_ci
456951915c
!2265 FIX:init 异常时自身记录crash
Merge pull request !2265 from 钟柠/0925_crash
2023-10-30 09:01:40 +00:00
zhongning5
98cd110d1b init 记录自身crash
Signed-off-by: zhongning5 <zhongning5@huawei.com>
Change-Id: I82bcfa1f7637729d7fe4dabc673bd72469463e78
2023-10-27 23:21:59 +08:00
openharmony_ci
292345f182
!2303 将系统调用msync加入seccomp白名单
Merge pull request !2303 from Chenshi/master
2023-10-18 01:32:39 +00:00
openharmony_ci
f0e6b7b05b
!2261 FIX:修正libbegetutil.z.so innerapi对外exported_header_files范围
Merge pull request !2261 from 钟柠/0923_headfile
2023-10-18 01:31:06 +00:00
Chenshi
ae41e11b35 add msync syscall in renderer.seccomp.policy
Signed-off-by: Chenshi <chenshi51@huawei.com>
2023-10-17 18:34:21 +08:00
chenshixu1
4213da5d27 adadpt x86_64
Signed-off-by: chenshixu1 <chenshixu1@huawei.com>
Change-Id: I1e807b808480944515e9ff6928e5d3b5a35f4b03
2023-10-11 06:39:16 +00:00
zhongning5
dd4ff6145e fix begetutilsexported_header_files范围
Signed-off-by: zhongning5 <zhongning5@huawei.com>
Change-Id: Id76ff63fcd6fde64d9f142dbd5ad22afd9052289
2023-09-26 15:32:27 +08:00
chenshixu1
2fa74ba498 fix deps
Signed-off-by: chenshixu1 <chenshixu1@h-partners.com>
Change-Id: Ie9097a29c4acea6a0c257f5c08f828c65b9c6a74
2023-09-20 01:46:29 +00:00
handyohos
b5ac43a708 Bugfix: 优化bootevent度量开机启动耗时
1) 去掉无效的init_trace静态插件
2)去掉InitAddServiceHook在INIT_SERVICE_FORK_BEFORE阶段的无效记录时间戳
3)优化INIT_CMD_RECORD的hook,只对耗时超过100ms的命令加入到bootevents列表
4)每次开机都记录同名的startup.bootevent文件,防止开机次数过多,产生过多垃圾文件
5)简化bootevent的clear命令处理逻辑
6)记录每个bootevent时间点到系统参数中
7)支持为系统应用预置bootevents

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

#I7XYNX
2023-09-07 09:21:09 +08:00
cheng_jinsong
f193742fa6 service start dfx
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-08-26 09:42:09 +08:00
openharmony_ci
39490f22ec
!2187 FIX:修复对uid=0进行处理告警时造成的测试用例跑不通问题
Merge pull request !2187 from YinZong/start_init_fix_uid
2023-08-11 08:44:00 +00:00
GengYinzong
cd99f6a6b0 Fix errors caused by modifying code with uid=0
Signed-off-by: GengYinzong <gengyinzong@huawei.com>
Change-Id: Id3d2dc938964db88dde07db5d3a0c56c258a08ae
2023-08-10 20:36:47 -07:00
chengjinsong2
210d92f1b4 修改lite_m log输出为hilog
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
2023-08-09 13:46:25 +08:00
GengYinzong
bc97587ae0 fix code error
Signed-off-by: GengYinzong <gengyinzong@huawei.com>
Change-Id: Ib6991a8bb49dad643688c961d4c729e97c70681b
2023-08-03 17:45:14 -07:00
GengYinzong
27a433b008 使能seccomp支持所有模式
Signed-off-by: GengYinzong <gengyinzong@huawei.com>
Change-Id: I746af8d746e7d2755c2b7c456d408fa4f75b82de
2023-08-01 19:10:11 -07:00
GengYinzong
7211e789dc 对uid=0做限制
Signed-off-by: GengYinzong <gengyinzong@huawei.com>
Change-Id: I8166b04b57f674df323c8874ac1db444253db392
2023-07-31 23:25:07 -07:00
openharmony_ci
9232e89561
!2108 配置文件TRAP/LOG模式
Merge pull request !2108 from YinZong/start_init_filemode
2023-07-31 02:09:18 +00:00
GengYinzong
afc51f5f3f fix code error
Signed-off-by: GengYinzong <gengyinzong@huawei.com>
Change-Id: I7396f54c37f8abd27c9b9b5d9144f54870f626ae
2023-07-30 18:39:32 -07:00
zhaohaoran
308c4ce24d start 6s fix
Signed-off-by: zhaohaoran <zhaohaoran9@huawei.com>
Change-Id: I5d4d31cc6acc7b0fafd2466cfcfa900dd6cd1254
2023-07-27 16:09:48 +08:00
cheng_jinsong
c18a3a12e9 Merge branch 'master' of gitee.com:openharmony/startup_init into init_cov
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2023-07-21 10:06:27 +00:00
openharmony_ci
64569938a7
!2130 Fix: 修改时间单位与换算不统一
Merge pull request !2130 from cheng_jinsong/init_0719
2023-07-20 09:50:46 +00:00
蓝色大魔王
e3bf9346a4
update services/modules/seccomp/seccomp_policy/updater.seccomp.policy.
Signed-off-by: 蓝色大魔王 <hanqiaosheng@huawei.com>
2023-07-19 11:53:28 +00:00