530 Commits

Author SHA1 Message Date
cheng_jinsong
96e651d76e drop ut coverage compile option
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
Change-Id: I4efd6728e9ad6fa40c57a0188ebe404934478c73
2022-09-15 19:24:36 -07:00
openharmony_ci
92100494b4
!409 codex
Merge pull request !409 from cheng_jinsong/codex
2022-09-14 10:20:04 +00:00
openharmony_ci
7c0012a9a7
!408 添加appspawn启动bootevent事件
Merge pull request !408 from cheng_jinsong/master_cc_addappspawn_bootevent
2022-09-14 06:03:10 +00:00
chengjinsong
accd23cc9c codex
Signed-off-by: chengjinsong <chengjinsong2@huawei.com>
2022-09-14 12:50:31 +08:00
cheng_jinsong
e1d039af9e add appspawn bootevent
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
Change-Id: I97427faf0c8ef4d96477c8407c118fac7fd2790a
2022-09-13 01:31:04 -07:00
openharmony_ci
9774eb6582
!407 将appspawn不进沙盒逻辑改到配置文件中配置
Merge pull request !407 from cheng_jinsong/appspawn0913
2022-09-13 08:27:42 +00:00
openharmony_ci
5091e3070e
!404 codex
Merge pull request !404 from cheng_jinsong/codex
2022-09-13 06:48:42 +00:00
openharmony_ci
f25fa4ee6e
!402 FIX: 回退nwebspawn.cfg
Merge pull request !402 from cheng_jinsong/0906_nwebspawn_cfg
2022-09-13 04:04:57 +00:00
cheng_jinsong
8af48b32f0 fix appspawn sandbox cfg
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-09-13 11:08:59 +08:00
openharmony_ci
15b4e81401
!406 add asan to sandbox
Merge pull request !406 from martin_duan/master
2022-09-13 03:05:15 +00:00
martin
4b5dde30e2 add asan to sandbox
Signed-off-by: martin <dxd_09101011@163.com>
2022-09-10 00:03:04 +08:00
openharmony_ci
df31893987
!405 Fix: 修改appspawn 冷启动
Merge pull request !405 from cheng_jinsong/appspawn_0909
2022-09-09 10:26:03 +00:00
cheng_jinsong
103e2cca14 修改appspawn 冷启动问题
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-09-09 16:09:16 +08:00
chengjinsong
8c7645f05a codex
Signed-off-by: chengjinsong <chengjinsong2@huawei.com>
2022-09-09 15:50:20 +08:00
openharmony_ci
0381991bfe
!398 seccomp模块进程内存映射空间优化
Merge pull request !398 from 夏不白/seccomp_so
2022-09-09 06:49:08 +00:00
openharmony_ci
0aa4f2e1ce
!395 处理客户端超时时,消息发送失败,删除已经创建的app进程
Merge pull request !395 from cheng_jinsong/timeout
2022-09-09 01:48:27 +00:00
xiacong
8d4f8b0dc7 <fix>
应用进程使能seccomp-bpf失败时子进程继续执行,不杀死进程,且将使能seccomp-bpf函数将返回值改为void
innerapi改变做适配变化

Signed-off-by: xiacong <xiacong4@huawei.com>
Change-Id: I39f3f6aa9531c6bf8437f89f7fff9ca41d3745ef
Signed-off-by: xiacong <xiacong4@huawei.com>
2022-09-08 20:35:37 +08:00
openharmony_ci
52a873401a
!403 在is_asan的条件下使能ASAN_DETECTOR
Merge pull request !403 from shiyu_huang/dev_20220908
2022-09-08 09:32:40 +00:00
shiyu_huang
9cc06f9435 issueNo:#I5QDFN
Description:enable MACRO "ASAN_DETECTOR" while is_asan in BUILD.gn.
Sig:SIG_ApplicationFramework
Feature or BugFix: Feature
Binary Source: No

Signed-off-by: shiyu_huang <huangshiyu1@huawei.com>
Change-Id: I6118183a7e8dafc981aafa1d8214c086b51100fe
2022-09-08 17:00:55 +08:00
cheng_jinsong
3b1be340ea
update interfaces/innerkits/client/client_socket.cpp.
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-09-08 07:28:47 +00:00
openharmony_ci
42e892aaa6
!401 Add MACRO "ASAN_DETECTOR" in BUILD.gn
Merge pull request !401 from shiyu_huang/dev_20220906
2022-09-07 01:59:43 +00:00
openharmony_ci
abbf5d095d
!399 request预加载
Merge pull request !399 from ann_lesley/master
2022-09-06 12:12:56 +00:00
chengjinsong2
9ced50adf0 回退nwebspawn cfg
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
2022-09-06 20:03:54 +08:00
shiyu_huang
9125a5e32b ssueNo:#I5PXLQ
Description:Add MACRO "ASAN_DETECTOR" in BUILD.gn.
Sig:SIG_ApplicationFramework
Feature or BugFix: Feature
Binary Source: No

Signed-off-by: shiyu_huang <huangshiyu1@huawei.com>
Change-Id: I99c98f02046fa258441cb813caed64e0f418e627
2022-09-06 14:47:48 +08:00
openharmony_ci
e6c0846f42
!400 FIX: 回退appspawn gid uid 校验
Merge pull request !400 from cheng_jinsong/0906
2022-09-06 06:07:25 +00:00
chengjinsong2
f3af5a4137 回退appspawn gid uid 校验
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
Change-Id: Iad9640df98073ce74a464f504e1940c1ccdc3a83
2022-09-05 20:33:59 -07:00
openharmony_ci
14e6acf01b
!397 在ASAN版本上默认关闭预加载特性
Merge pull request !397 from shiyu_huang/dev_20220905
2022-09-06 03:02:32 +00:00
anyueling
5514033391 request预加载
Signed-off-by: anyueling <anyueling@huawei.com>
2022-09-06 10:40:23 +08:00
shiyu_huang
7970855273 IssueNo:#I5PRDE
Description:Disable preload by default, on ASAN version.
Sig:SIG_ApplicationFramework
Feature or BugFix: Feature
Binary Source: No

Signed-off-by: shiyu_huang <huangshiyu1@huawei.com>
Change-Id: Ief87d042487f3872822ab82390c9bc42efb6f21f
2022-09-05 16:06:27 +08:00
cheng_jinsong
fc256ffae5 Merge branch 'master' of gitee.com:openharmony/startup_appspawn into timeout
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-09-05 02:37:11 +00:00
openharmony_ci
b9b365bf8a
!393 Fix : 修改appspawn 超时时长
Merge pull request !393 from cheng_jinsong/appspawn_0902
2022-09-05 02:29:13 +00:00
openharmony_ci
9c5ea0b44a
!380 FIX: 添加appspawn uid gid校验
Merge pull request !380 from cheng_jinsong/0825_master
2022-09-05 01:51:38 +00:00
cheng_jinsong
b873e6bc8d fix appspawn timeout
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-09-05 09:05:35 +08:00
cheng_jinsong
9b2345b02a 修改appspawn 超时时长
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
2022-09-02 18:08:10 +08:00
openharmony_ci
32e30bda9e
!392 FIX: 修复UT失败问题
Merge pull request !392 from cheng_jinsong/0902
2022-09-02 08:24:58 +00:00
chengjinsong2
f9b7d4938c 修复appspawn UT失败
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
2022-09-02 15:01:27 +08:00
openharmony_ci
701a68bd86
!391 新增应用沙箱测试用例
Merge pull request !391 from zhushengle/sandbox_test
2022-09-01 08:52:19 +00:00
zhushengle
32e24e31dc feat: 添加应用沙箱自测试用例
Close #I5P6OX

Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: If1695edf567bb2794e52167061f1a8d1f9aeda55
2022-09-01 16:16:55 +08:00
openharmony_ci
f5a8691f02
!388 【OpenHarmony开源贡献者计划2022】删除设备平台信息
Merge pull request !388 from niceperson/master
2022-09-01 03:56:49 +00:00
openharmony_ci
18fb1b5214
!384 Fix: 修改appProperty->processName设置可能存在的内存溢出问题
Merge pull request !384 from cheng_jinsong/appspawn_0826
2022-08-30 11:47:00 +00:00
openharmony_ci
029dc83d0c
!387 应用沙箱增强,使能pid namespace
Merge pull request !387 from zhushengle/sandbox_single_process
2022-08-30 11:08:06 +00:00
openharmony_ci
98fa97d25a
!386 FIX:默认使能预加载机制
Merge pull request !386 from JayLeeHW/20220813
2022-08-30 09:44:30 +00:00
zhushengle
4f35b367da feat: 应用沙箱增强,使能pid namespace
Close #I5OE8Q

Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I2897c0c9aacff3a06212d27956e3cb46ea03799e
2022-08-30 10:30:08 +08:00
niceperson
9862a48309
delete device info
Signed-off-by: niceperson <niceperson@139.com>
2022-08-29 09:26:17 +00:00
liqiang
64201f38a2 enable prerload function
Signed-off-by: liqiang <liqiang121@huawei.com>
Change-Id: I73848f3007a0793c371e1279c1327ee9463febcf
2022-08-27 15:42:40 +08:00
openharmony_ci
c41d515381
!365 app进程支持seccomp-BPF策略使能
Merge pull request !365 from 夏不白/seccomp_app_v2
2022-08-27 07:08:03 +00:00
xiacong
00632ee1ac <feat>
app进程沙箱使能seccomp-BPF策略

<body>
引用init部件的seccomp模块,在子进程setresuid之前使能seccomp-BPF策略

Signed-off-by: xiacong <xiacong4@huawei.com>
Change-Id: I53cea6016dff2fe937ce338e8f515ed8a41eafbd
Signed-off-by: xiacong <xiacong4@huawei.com>
2022-08-26 16:28:01 +08:00
openharmony_ci
08d1f22141
!385 修复asan版本编译错误
Merge pull request !385 from cheng_jinsong/master_cc_asantimeout
2022-08-26 06:31:02 +00:00
chengjinsong2
d671a61281 添加ut宏
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
2022-08-26 13:44:52 +08:00
cheng_jinsong
2bb8e334bc fix asan build error
Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
Change-Id: Ia8151321a3883dc34f76288a71c08bcf8da17fe3
2022-08-25 20:34:11 -07:00