startup_appspawn/appdata-sandbox-nweb.json
nianyuu bdfc8d66b5 sync arkweb remount code to newsandbox
Signed-off-by: nianyuu <zhouwenqiang12@huawei.com>
2024-09-24 19:12:44 +08:00

78 lines
2.8 KiB
JSON
Executable File

{
"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/bin",
"sandbox-path" : "/system/bin"
}, {
"src-path" : "/system/lib",
"sandbox-path" : "/system/lib"
}, {
"src-path" : "/system/lib64",
"sandbox-path" : "/system/lib64"
}, {
"src-path" : "/data/app/el1/bundle/public/<arkWebPackageName>",
"sandbox-path" : "/data/storage/el1/bundle/arkwebcore"
}, {
"src-path" : "/system/app/<arkWebPackageName>",
"sandbox-path" : "/system/app/<arkWebPackageName>"
}, {
"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"
}, {
"src-path" : "/module_update/ArkWebCore/app/<arkWebPackageName>",
"sandbox-path" : "/module_update/ArkWebCore/app/<arkWebPackageName>"
}],
"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"
}, {
"target-name" : "/system/lib64",
"link-name" : "/lib64",
"check-action-status": "false"
}
],
"mount-files": [{
"src-path" : "/system/etc/hosts",
"sandbox-path" : "/data/service/el1/network/hosts_user/hosts"
}],
"mount-groups" : []
},
"app-variable": {
"mount-groups": []
}
}
}