Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Startup Init Lite
提交
55627ee6
S
Startup Init Lite
项目概览
OpenHarmony
/
Startup Init Lite
大约 1 年 前同步成功
通知
3
Star
37
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Startup Init Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
55627ee6
编写于
6月 21, 2023
作者:
O
openharmony_ci
提交者:
Gitee
6月 21, 2023
浏览文件
操作
浏览文件
下载
差异文件
!2035 需求:系统/芯片沙盒资源最小化
Merge pull request !2035 from cheng_jinsong/fly0609
上级
0fc3f0ef
b99e49df
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
58 addition
and
35 deletion
+58
-35
services/sandbox/chipset-sandbox.json
services/sandbox/chipset-sandbox.json
+42
-27
services/sandbox/system-sandbox.json
services/sandbox/system-sandbox.json
+16
-8
未找到文件。
services/sandbox/chipset-sandbox.json
浏览文件 @
55627ee6
{
"sandbox-root"
:
"/mnt/sandbox/chipset"
,
"mount-bind-paths"
:
[{
"mount-bind-paths"
:
[
{
"src-path"
:
"/system/bin"
,
"sandbox-path"
:
"/system/bin"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/system/etc"
,
"sandbox-path"
:
"/system/etc"
,
"src-path"
:
"/system/etc
/selinux
"
,
"sandbox-path"
:
"/system/etc
/selinux
"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/system/lib"
,
"sandbox-path"
:
"/system/lib"
,
"src-path"
:
"/system/lib
/chipset-pub-sdk
"
,
"sandbox-path"
:
"/system/lib
/chipset-pub-sdk
"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/system/
profile
"
,
"sandbox-path"
:
"/system/
profile
"
,
"src-path"
:
"/system/
lib/chipset-sdk
"
,
"sandbox-path"
:
"/system/
lib/chipset-sdk
"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/system/app"
,
"sandbox-path"
:
"/system/app"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
],
"ignore"
:
1
},
{
"src-path"
:
"/system/fonts"
,
"sandbox-path"
:
"/system/fonts"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
],
"ignore"
:
1
},
{
"src-path"
:
"/system/usr"
,
"sandbox-path"
:
"/system/usr"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
],
"ignore"
:
1
"src-path"
:
"/system/lib/ndk"
,
"sandbox-path"
:
"/system/lib/ndk"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/vendor"
,
"sandbox-path"
:
"/vendor"
,
...
...
@@ -72,18 +62,43 @@
"src-path"
:
"/storage"
,
"sandbox-path"
:
"/storage"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/sys_prod"
,
"sandbox-path"
:
"/sys_prod"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/chip_prod"
,
"sandbox-path"
:
"/chip_prod"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
}
],
"mount-bind-files"
:
[{
}],
"mount-bind-files"
:
[
{
"src-path"
:
"/system/etc/ld-musl-arm.path"
,
"sandbox-path"
:
"/system/etc/ld-musl-arm.path"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/system/etc/ld-musl-namespace-arm.ini"
,
"sandbox-path"
:
"/system/etc/ld-musl-namespace-arm.ini"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/system/lib/ld-musl-arm.so.1"
,
"sandbox-path"
:
"/system/lib/ld-musl-arm.so.1"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/system/lib/libc.so"
,
"sandbox-path"
:
"/system/lib/libc.so"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/system/lib/libc++.so"
,
"sandbox-path"
:
"/system/lib/libc++.so"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/system/lib/libdisplay_buffer_proxy_1.0.z.so"
,
"sandbox-path"
:
"/system/lib/libdisplay_buffer_proxy_1.0.z.so"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/system/lib/libclang_rt.ubsan_minimal.so"
,
"sandbox-path"
:
"/system/lib/libclang_rt.ubsan_minimal.so"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
}
],
"symbol-links"
:
[{
"target-name"
:
"/system/lib"
,
"link-name"
:
"/lib"
...
...
services/sandbox/system-sandbox.json
浏览文件 @
55627ee6
...
...
@@ -32,8 +32,12 @@
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
],
"ignore"
:
1
},
{
"src-path"
:
"/vendor"
,
"sandbox-path"
:
"/vendor"
,
"src-path"
:
"/vendor/lib/chipsetsdk"
,
"sandbox-path"
:
"/vendor/lib/chipsetsdk"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/vendor/lib/chipset-sdk"
,
"sandbox-path"
:
"/vendor/lib/chipset-sdk"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/dev"
,
...
...
@@ -74,17 +78,21 @@
"sandbox-path"
:
"/sys_prod"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/vendor"
,
"sandbox-path"
:
"/chipset"
,
"src-path"
:
"/vendor/etc"
,
"sandbox-path"
:
"/vendor/etc"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
}
],
"mount-bind-files"
:
[{
"src-path"
:
"/vendor/lib/libmapper_service_1.0.z.so"
,
"sandbox-path"
:
"/vendor/lib/libmapper_service_1.0.z.so"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/
chip_prod
"
,
"sandbox-path"
:
"/
chip_prod
"
,
"src-path"
:
"/
vendor/lib/libinput_interfaces_service_1.0.z.so
"
,
"sandbox-path"
:
"/
vendor/lib/libinput_interfaces_service_1.0.z.so
"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
}
],
"mount-bind-files"
:
[{
}],
"symbol-links"
:
[{
"target-name"
:
"/system/lib"
,
"link-name"
:
"/lib"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录