1 Star 0 Fork 499

YinZong/startup_appspawn_2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
appdata-sandbox-nweb.json 3.52 KB
一键复制 编辑 原始数据 按行查看 历史
nianyuu 提交于 2024-06-12 19:06 . add /etc/hosts mount-paths
{
"global": {
"sandbox-root" : "/mnt/sandbox/com.ohos.render/<PackageName>",
"sandbox-ns-flags" : [ "pid", "net" ]
},
"required": {
"system-const": {
"mount-paths": [{
"src-path" : "/dev",
"sandbox-path" : "/dev"
}, {
"src-path" : "/proc",
"sandbox-path" : "/proc"
}, {
"src-path" : "/sys",
"sandbox-path" : "/sys"
}, {
"src-path" : "/system/fonts",
"sandbox-path" : "/system/fonts"
}, {
"src-path" : "/system/etc",
"sandbox-path" : "/system/etc"
}, {
"src-path" : "/system/etc/hosts",
"sandbox-path" : "/data/service/el1/network/hosts_user/hosts"
}, {
"src-path" : "/system/bin",
"sandbox-path" : "/system/bin"
}, {
"src-path" : "/system/<lib>",
"sandbox-path" : "/system/<lib>"
}, {
"src-path" : "/data/app/el1/bundle/public/com.ohos.nweb",
"sandbox-path" : "/data/storage/el1/bundle/nweb"
}, {
"src-path" : "/system/<lib>/platformsdk",
"sandbox-path" : "/system/<lib>/platformsdk"
}, {
"src-path" : "/system/<lib>/ndk",
"sandbox-path" : "/system/<lib>/ndk"
}, {
"src-path" : "/system/<lib>/module",
"sandbox-path" : "/system/<lib>/module"
}, {
"src-path" : "/system/<lib>/chipset-pub-sdk",
"sandbox-path" : "/system/<lib>/chipset-pub-sdk"
}, {
"src-path" : "/system/<lib>/chipset-sdk",
"sandbox-path" : "/system/<lib>/chipset-sdk"
}, {
"src-path" : "/system/<lib>/seccomp",
"sandbox-path" : "/system/<lib>/seccomp"
}, {
"src-path" : "/system/<lib>/extensionability",
"sandbox-path" : "/system/<lib>/extensionability"
}, {
"src-path" : "/system/<lib>/media",
"sandbox-path" : "/system/<lib>/media"
}, {
"src-path" : "/system/app/com.ohos.nweb",
"sandbox-path" : "/system/app/com.ohos.nweb"
}, {
"src-path" : "/vendor/lib",
"sandbox-path" : "/vendor/lib",
"sandbox-flags" : [ "bind", "rec" ],
"check-action-status": "false"
}, {
"src-path" : "/system/app/NWeb",
"sandbox-path" : "/system/app/NWeb"
}],
"symbol-links" : [{
"target-name" : "/system/etc",
"link-name" : "/etc",
"check-action-status": "false"
}, {
"target-name" : "/system/bin",
"link-name" : "/bin",
"check-action-status": "false"
}, {
"target-name" : "/system/lib",
"link-name" : "/lib",
"check-action-status": "false"
}
],
"mount-files": [{
"src-path" : "/system/<lib>/ld-musl-arm.so.1",
"sandbox-path" : "/system/<lib>/ld-musl-arm.so.1"
}],
"mount-groups" : []
},
"app-variable": {
"mount-groups": []
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/blackyinzong/startup_appspawn_2.git
git@gitee.com:blackyinzong/startup_appspawn_2.git
blackyinzong
startup_appspawn_2
startup_appspawn_2
master

搜索帮助