mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2024-12-04 21:36:31 +00:00
39767291ed
Merge pull request !1251 from jao_liu/0702startupLocal
868 lines
39 KiB
JSON
Executable File
868 lines
39 KiB
JSON
Executable File
{
|
|
"common" : [{
|
|
"top-sandbox-switch": "ON",
|
|
"app-base" : [{
|
|
"sandbox-ns-flags" : [ "net" ],
|
|
"mount-paths" : [{
|
|
"src-path" : "/config",
|
|
"sandbox-path" : "/config",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/dev",
|
|
"sandbox-path" : "/dev",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/proc",
|
|
"sandbox-path" : "/proc",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/sys",
|
|
"sandbox-path" : "/sys",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/sys_prod",
|
|
"sandbox-path" : "/sys_prod",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/app",
|
|
"sandbox-path" : "/system/app",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/fonts",
|
|
"sandbox-path" : "/system/fonts",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib",
|
|
"sandbox-path" : "/system/lib",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/platformsdk",
|
|
"sandbox-path" : "/system/lib/platformsdk",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/ld-musl-arm.so.1",
|
|
"sandbox-path" : "/system/lib/ld-musl-arm.so.1",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
},{
|
|
"src-path" : "/system/lib/ndk",
|
|
"sandbox-path" : "/system/lib/ndk",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/module",
|
|
"sandbox-path" : "/system/lib/module",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/chipset-pub-sdk",
|
|
"sandbox-path" : "/system/lib/chipset-pub-sdk",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/chipset-sdk",
|
|
"sandbox-path" : "/system/lib/chipset-sdk",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/seccomp",
|
|
"sandbox-path" : "/system/lib/seccomp",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/extensionability",
|
|
"sandbox-path" : "/system/lib/extensionability",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/media",
|
|
"sandbox-path" : "/system/lib/media",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/data",
|
|
"sandbox-path" : "/system/data",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/usr",
|
|
"sandbox-path" : "/system/usr",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/profile",
|
|
"sandbox-path" : "/system/profile",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/bin",
|
|
"sandbox-path" : "/system/bin",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/etc",
|
|
"sandbox-path" : "/system/etc",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/etc/hosts",
|
|
"sandbox-path" : "/data/service/el1/network/hosts_user/hosts",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/resource",
|
|
"sandbox-path" : "/system/resource",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/vendor/lib",
|
|
"sandbox-path" : "/vendor/lib",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/vendor/etc/hiai",
|
|
"sandbox-path" : "/vendor/etc/hiai",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/vendor/etc/vulkan",
|
|
"sandbox-path" : "/vendor/etc/vulkan",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el1/bundle/public/<PackageName>",
|
|
"sandbox-path" : "/data/storage/el1/bundle",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "true"
|
|
}, {
|
|
"src-path" : "/mnt/sandbox/<currentUserId>/<PackageName>/data/storage/el2",
|
|
"sandbox-path" : "/data/storage/el2",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el2/<currentUserId>/base/<variablePackageName>",
|
|
"sandbox-path" : "/data/storage/el2/base",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el2/<currentUserId>/log/<variablePackageName>",
|
|
"sandbox-path" : "/data/storage/el2/log",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el1/<currentUserId>/database/<variablePackageName>",
|
|
"sandbox-path" : "/data/storage/el1/database",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "true"
|
|
}, {
|
|
"src-path" : "/data/app/el2/<currentUserId>/database/<variablePackageName>",
|
|
"sandbox-path" : "/data/storage/el2/database",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el1/<currentUserId>/base/<variablePackageName>",
|
|
"sandbox-path" : "/data/storage/el1/base",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "true"
|
|
}, {
|
|
"src-path" : "/mnt/hmdfs/<currentUserId>",
|
|
"sandbox-path" : "/mnt/hmdfs/<currentUserId>",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/mnt/hmdfs/<currentUserId>/account/merge_view/data/<PackageName>",
|
|
"sandbox-path" : "/data/storage/el2/distributedfiles",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/mnt/hmdfs/<currentUserId>/non_account/merge_view/data/",
|
|
"sandbox-path" : "/data/storage/el2/auth_groups",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/local/ark-cache/<PackageName>",
|
|
"sandbox-path" : "/data/storage/ark-cache",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/local/ark-profile/<currentUserId>/<PackageName>",
|
|
"sandbox-path" : "/data/storage/ark-profile",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/local/shader_cache/local/<PackageName>",
|
|
"sandbox-path" : "/data/storage/shader_cache/local",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/local/shader_cache/cloud/<PackageName>",
|
|
"sandbox-path" : "/data/storage/shader_cache/cloud",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/mnt/share/<currentUserId>/<PackageName_index>",
|
|
"sandbox-path" : "/data/storage/el2/share",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/service/el1/public/themes/<currentUserId>/a/app",
|
|
"sandbox-path" : "/data/themes/a/app",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/service/el1/public/themes/<currentUserId>/b/app",
|
|
"sandbox-path" : "/data/themes/b/app",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/service/el1/<currentUserId>/distributeddata/utd",
|
|
"sandbox-path" : "/data/utd",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/service/el1/public/cert_manager_service/certificates/user_open",
|
|
"sandbox-path" : "/data/certificates/user_cacerts",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el3/<currentUserId>/base/<variablePackageName>",
|
|
"sandbox-path" : "/data/storage/el3/base",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el3/<currentUserId>/database/<variablePackageName>",
|
|
"sandbox-path" : "/data/storage/el3/database",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el4/<currentUserId>/base/<variablePackageName>",
|
|
"sandbox-path" : "/data/storage/el4/base",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el4/<currentUserId>/database/<variablePackageName>",
|
|
"sandbox-path" : "/data/storage/el4/database",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/mnt/hmdfs/<currentUserId>/cloud/data/<PackageName>",
|
|
"sandbox-path" : "/data/storage/el2/cloud",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}
|
|
],
|
|
"symbol-links" : [{
|
|
"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/etc",
|
|
"link-name" : "/etc",
|
|
"check-action-status": "false"
|
|
}, {
|
|
"target-name" : "/sys/kernel/debug",
|
|
"link-name" : "/d",
|
|
"check-action-status": "false"
|
|
}
|
|
]
|
|
}],
|
|
"app-resources" : [{
|
|
"mount-paths" : [{
|
|
"src-path" : "/data/app/el1/bundle/public/com.ohos.nweb",
|
|
"sandbox-path" : "/data/storage/el1/bundle/nweb",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/app/ohos.global.systemres",
|
|
"sandbox-path" : "/data/global/systemResources",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/app/SystemResources",
|
|
"sandbox-path" : "/data/global/systemResources",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/misc",
|
|
"sandbox-path" : "/data/storage/el1/bundle/misc",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}
|
|
],
|
|
"flags-point" : [{
|
|
"flags": "DLP_MANAGER",
|
|
"mount-paths" : [{
|
|
"src-path" : "/data/app/el2/<currentUserId>/base/<PackageName_index>",
|
|
"sandbox-path" : "/data/storage/el2/base",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
},{
|
|
"src-path" : "/data/app/el1/<currentUserId>/database/<PackageName_index>",
|
|
"sandbox-path" : "/data/storage/el1/database",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el2/<currentUserId>/database/<PackageName_index>",
|
|
"sandbox-path" : "/data/storage/el2/database",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el1/<currentUserId>/base/<PackageName_index>",
|
|
"sandbox-path" : "/data/storage/el1/base",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el2/<currentUserId>/log/<PackageName_index>",
|
|
"sandbox-path" : "/data/storage/el2/log",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/mnt/share/<currentUserId>/<PackageName_index>",
|
|
"sandbox-path" : "/data/storage/el2/share",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}
|
|
]}, {
|
|
"flags": "START_FLAGS_BACKUP",
|
|
"mount-paths": [{
|
|
"src-path": "/data/app/el2/<currentUserId>/base/<PackageName>/.backup",
|
|
"sandbox-path": "/data/storage/el2/backup",
|
|
"sandbox-flags": [ "bind", "rec" ],
|
|
"check-action-status": "true"
|
|
}, {
|
|
"src-path" : "/data/app/el1/<currentUserId>/base/<PackageName>/.backup",
|
|
"sandbox-path" : "/data/storage/el1/backup",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}
|
|
]}, {
|
|
"flags": "DEVELOPER_MODE",
|
|
"mount-paths": [{
|
|
"src-path": "/data/app/el1/bundle/<currentUserId>/hnppublic",
|
|
"sandbox-path": "/data/service/hnp",
|
|
"sandbox-flags": [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el1/bundle/<currentUserId>/hnp/<PackageName>",
|
|
"sandbox-path" : "/data/app",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}
|
|
]}
|
|
],
|
|
"symbol-links" : [
|
|
]
|
|
}]
|
|
}],
|
|
"individual" : [{
|
|
"com.ohos.medialibrary.medialibrarydata" : [{
|
|
"sandbox-switch": "ON",
|
|
"mount-paths" : [{
|
|
"src-path" : "/storage/media/<currentUserId>",
|
|
"sandbox-path" : "/storage/media",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/service/el2/<currentUserId>/hmdfs/cache/account_cache",
|
|
"sandbox-path" : "/data/service/el2/<currentUserId>/hmdfs/cache/account_cache",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/storage/cloud/<currentUserId>",
|
|
"sandbox-path" : "/storage/cloud",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "none",
|
|
"sandbox-path" : "/storage/cloud/epfs",
|
|
"sandbox-flags" : [ "MS_NODEV" ],
|
|
"fs-type": "epfs",
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/mnt/data/<currentUserId>",
|
|
"sandbox-path" : "/mnt/data/<currentUserId>",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}
|
|
],
|
|
"symbol-links" : []
|
|
}],
|
|
"com.ohos.sceneboard" : [{
|
|
"sandbox-switch": "ON",
|
|
"mount-paths" : [{
|
|
"src-path" : "/data/app/el1/bundle/public/",
|
|
"sandbox-path" : "/data/app/el1/bundle/public/",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "true"
|
|
}
|
|
],
|
|
"symbol-links" : []
|
|
}],
|
|
"com.ohos.permissionmanager" : [{
|
|
"sandbox-switch": "ON",
|
|
"mount-paths" : [{
|
|
"src-path" : "/data/app/el1/bundle/public/",
|
|
"sandbox-path" : "/data/bundles/",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "true"
|
|
}
|
|
],
|
|
"symbol-links" : []
|
|
}],
|
|
"com.ohos.amsdialog" : [{
|
|
"sandbox-switch": "ON",
|
|
"mount-paths" : [{
|
|
"src-path" : "/data/app/el1/bundle/public/",
|
|
"sandbox-path" : "/data/bundles/",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "true"
|
|
}
|
|
],
|
|
"symbol-links" : []
|
|
}],
|
|
"com.ohos.UserFile.ExternalFileManager" : [{
|
|
"sandbox-switch": "ON",
|
|
"mount-paths" : [{
|
|
"src-path" : "/data/service/el1/public/storage_daemon/share/public",
|
|
"sandbox-path" : "/data/storage/el1/bundle/storage_daemon",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "true"
|
|
},
|
|
{
|
|
"src-path" : "/mnt/data/external",
|
|
"sandbox-path" : "/mnt/external",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "true"
|
|
}
|
|
],
|
|
"symbol-links" : []
|
|
}],
|
|
"__internal__.com.ohos.render" : [{
|
|
"sandbox-root" : "/mnt/sandbox/com.ohos.render/<PackageName>",
|
|
"sandbox-ns-flags" : [ "pid", "net" ],
|
|
"mount-paths" : [{
|
|
"src-path" : "/dev",
|
|
"sandbox-path" : "/dev",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/proc",
|
|
"sandbox-path" : "/proc",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/sys",
|
|
"sandbox-path" : "/sys",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/fonts",
|
|
"sandbox-path" : "/system/fonts",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/etc",
|
|
"sandbox-path" : "/system/etc",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/etc/hosts",
|
|
"sandbox-path" : "/data/service/el1/network/hosts_user/hosts",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el1/bundle/public/com.ohos.nweb",
|
|
"sandbox-path" : "/data/storage/el1/bundle/nweb",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/bin",
|
|
"sandbox-path" : "/system/bin",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib",
|
|
"sandbox-path" : "/system/lib",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/platformsdk",
|
|
"sandbox-path" : "/system/lib/platformsdk",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/ndk",
|
|
"sandbox-path" : "/system/lib/ndk",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/module",
|
|
"sandbox-path" : "/system/lib/module",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/chipset-pub-sdk",
|
|
"sandbox-path" : "/system/lib/chipset-pub-sdk",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/chipset-sdk",
|
|
"sandbox-path" : "/system/lib/chipset-sdk",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/seccomp",
|
|
"sandbox-path" : "/system/lib/seccomp",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/extensionability",
|
|
"sandbox-path" : "/system/lib/extensionability",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/media",
|
|
"sandbox-path" : "/system/lib/media",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/lib/ld-musl-arm.so.1",
|
|
"sandbox-path" : "/system/lib/ld-musl-arm.so.1",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/app/com.ohos.nweb",
|
|
"sandbox-path" : "/system/app/com.ohos.nweb",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/vendor/lib",
|
|
"sandbox-path" : "/vendor/lib",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/data/app/el1/bundle/public/com.ohos.nweb",
|
|
"sandbox-path" : "/data/app/el1/bundle/public/com.ohos.nweb",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}, {
|
|
"src-path" : "/system/app/NWeb",
|
|
"sandbox-path" : "/system/app/NWeb",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"flags-point" : [{
|
|
"flags": "DLP_MANAGER",
|
|
"sandbox-root" : "/mnt/sandbox/com.ohos.render/<PackageName>",
|
|
"mount-paths" : [],
|
|
"symbol-links" : [{}]
|
|
}]
|
|
}]
|
|
}],
|
|
"permission":[{
|
|
"ohos.permission.FILE_ACCESS_MANAGER":[{
|
|
"sandbox-switch": "ON",
|
|
"gids": [1006, 1008],
|
|
"mount-paths": [{
|
|
"src-path": "/data/service/el1/public/storage_daemon/share/public",
|
|
"sandbox-path": "/storage/Share",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
},
|
|
{
|
|
"src-path": "/mnt/data/external",
|
|
"sandbox-path": "/storage/External",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
},
|
|
{
|
|
"src-path": "/storage/media/<currentUserId>/local/files/Docs",
|
|
"sandbox-path": "/storage/Users/<currentUserId>",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
},
|
|
{
|
|
"src-path": "/storage/media/<currentUserId>/local/files/.Recent",
|
|
"sandbox-path": "/storage/Users/<currentUserId>/.Recent",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
},
|
|
{
|
|
"src-path": "/data/app/el1/<currentUserId>/base",
|
|
"sandbox-path": "/storage/Users/<currentUserId>/appdata/el1/base",
|
|
"sandbox-flags-customized": ["MS_NODEV"],
|
|
"dac-override-sensitive": "true",
|
|
"fs-type": "sharefs",
|
|
"options": "override"
|
|
},
|
|
{
|
|
"src-path": "/data/app/el2/<currentUserId>/base",
|
|
"sandbox-path": "/storage/Users/<currentUserId>/appdata/el2/base",
|
|
"sandbox-flags-customized": ["MS_NODEV"],
|
|
"dac-override-sensitive": "true",
|
|
"fs-type": "sharefs",
|
|
"options": "override"
|
|
},
|
|
{
|
|
"src-path": "/mnt/hmdfs/<currentUserId>/account/merge_view/data",
|
|
"sandbox-path": "/storage/Users/<currentUserId>/appdata/el2/distributedfiles",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
},
|
|
{
|
|
"src-path": "/mnt/data/<currentUserId>/hmdfs",
|
|
"sandbox-path": "/storage/hmdfs",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.READ_IMAGEVIDEO":[{
|
|
"sandbox-switch": "ON",
|
|
"gids": [2008],
|
|
"mount-paths": [{
|
|
"src-path": "/storage/cloud/<currentUserId>/files/.thumbs/Photo",
|
|
"sandbox-path": "/storage/Share/.thumbs/Photo",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.FILE_CROSS_APP":[{
|
|
"sandbox-switch": "ON",
|
|
"gids": [1006],
|
|
"mount-paths": [{
|
|
"src-path": "/storage/media/<currentUserId>/local/files/Docs",
|
|
"sandbox-path": "/storage/Users/<currentUserId>",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
},
|
|
{
|
|
"src-path": "/data/app/el1/<currentUserId>/base",
|
|
"sandbox-path": "/storage/Users/<currentUserId>/appdata/el1",
|
|
"sandbox-flags-customized": ["MS_NODEV"],
|
|
"dac-override-sensitive": "true",
|
|
"fs-type": "sharefs",
|
|
"options": "override"
|
|
},
|
|
{
|
|
"src-path": "/data/app/el2/<currentUserId>/base",
|
|
"sandbox-path": "/storage/Users/<currentUserId>/appdata/el2",
|
|
"sandbox-flags-customized": ["MS_NODEV"],
|
|
"dac-override-sensitive": "true",
|
|
"fs-type": "sharefs",
|
|
"options": "override"
|
|
},
|
|
{
|
|
"src-path": "/data/service/el1/public/storage_daemon/share/public",
|
|
"sandbox-path": "/storage/Share",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
},
|
|
{
|
|
"src-path": "/mnt/data/external",
|
|
"sandbox-path": "/storage/External",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.FILE_ACCESS_COMMON_DIR":[{
|
|
"sandbox-switch": "ON",
|
|
"mount-paths": [{
|
|
"src-path": "/storage/media/<currentUserId>/local/files/Docs",
|
|
"sandbox-path": "/storage/Users/currentUser",
|
|
"sandbox-flags": [ "MS_NODEV" ],
|
|
"dac-override-sensitive": "true",
|
|
"fs-type": "sharefs",
|
|
"options": "override"
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.ACTIVATE_THEME_PACKAGE":[{
|
|
"sandbox-switch": "ON",
|
|
"gids": [3817],
|
|
"mount-paths": [{
|
|
"src-path": "/data/service/el1/public/themes/<currentUserId>/a/system",
|
|
"sandbox-path": "/data/themes/a/system",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
},
|
|
{
|
|
"src-path": "/data/service/el1/public/themes/<currentUserId>/b/system",
|
|
"sandbox-path": "/data/themes/b/system",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
},
|
|
{
|
|
"src-path": "/data/service/el1/public/themes/<currentUserId>/fa",
|
|
"sandbox-path": "/data/themes/f",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
},
|
|
{
|
|
"src-path": "/data/service/el1/public/themes/<currentUserId>/share",
|
|
"sandbox-path": "/data/themes/s",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.GET_WALLPAPER":[{
|
|
"sandbox-switch": "ON",
|
|
"mount-paths": [{
|
|
"src-path": "/data/service/el1/public/wallpaper/<currentUserId>",
|
|
"sandbox-path": "/data/wallpaper",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.ACCESS_BUNDLE_DIR":[{
|
|
"sandbox-switch": "ON",
|
|
"gids": [1010],
|
|
"mount-paths": [{
|
|
"src-path": "/data/app/el1/bundle/public",
|
|
"sandbox-path": "/data/bundles/",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.ACCESS_PROTOCOL_DFX_DATA":[{
|
|
"sandbox-switch": "ON",
|
|
"gids": [1007],
|
|
"mount-paths": [{
|
|
"src-path": "/data/log/protocol",
|
|
"sandbox-path": "/data/log/protocol",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
},
|
|
{
|
|
"src-path": "/log/chr",
|
|
"sandbox-path": "/log/chr",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.ACCESS_MEDIALIB_THUMB_DB":[{
|
|
"sandbox-switch": "ON",
|
|
"gids": [3008],
|
|
"mount-paths": [{
|
|
"src-path": "/data/app/el2/<currentUserId>/database/com.ohos.medialibrary.medialibrarydata",
|
|
"sandbox-path": "/data/medialibrary/database",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.ACCESS_SHADER_CACHE_DIR":[{
|
|
"sandbox-switch": "ON",
|
|
"mount-paths": [{
|
|
"src-path": "/data/local/shader_cache",
|
|
"sandbox-path": "/data/storage/shader_caches",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.ACCESS_DLP_FILE" : [{
|
|
"sandbox-switch": "ON",
|
|
"sandbox-shared" : "true",
|
|
"mount-paths" : [{
|
|
"src-path" : "/mnt/data/<currentUserId>",
|
|
"sandbox-path" : "/mnt/data",
|
|
"sandbox-flags" : [ "bind", "rec" ],
|
|
"mount-shared-flag" : "true",
|
|
"check-action-status": "true"
|
|
}, {
|
|
"src-path" : "/dev/fuse",
|
|
"sandbox-path" : "/mnt/data/fuse",
|
|
"sandbox-flags" : [ "MS_NOSUID", "MS_NODEV", "MS_NOEXEC", "MS_NOATIME", "MS_LAZYTIME" ],
|
|
"dac-override-sensitive": "true",
|
|
"fs-type": "fuse",
|
|
"check-action-status": "false"
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.ACCESS_LOCAL_BACKUP":[{
|
|
"sandbox-switch": "ON",
|
|
"gids": [1023],
|
|
"mount-paths": [{
|
|
"src-path": "/data/hwbackup",
|
|
"sandbox-path": "/data/hwbackup",
|
|
"sandbox-flags": [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.ACCESS_HIVIEWX":[{
|
|
"sandbox-switch": "ON",
|
|
"mount-paths": [{
|
|
"src-path": "/data/log/UserView",
|
|
"sandbox-path": "/data/log/UserView",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.PROTECT_SCREEN_LOCK_DATA":[{
|
|
"sandbox-switch": "ON",
|
|
"mount-paths": [{
|
|
"src-path": "/data/app/el5/<currentUserId>/base/<PackageName>",
|
|
"sandbox-path": "/data/storage/el5/base",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
},
|
|
{
|
|
"src-path": "/data/app/el5/<currentUserId>/database/<PackageName>",
|
|
"sandbox-path": "/data/storage/el5/database",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.ACCESS_FILE_CONTENT_SHARE":[{
|
|
"sandbox-switch": "ON",
|
|
"gids": [1006, 1008],
|
|
"mount-paths": [{
|
|
"src-path": "/data/service/el2/public/file_monitor_service/content_share",
|
|
"sandbox-path": "/storage/ContentShare",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.ACCESS_RINGTONE_RESOURCE":[{
|
|
"sandbox-switch": "ON",
|
|
"gids": [1008],
|
|
"mount-paths": [{
|
|
"src-path": "/storage/media/<currentUserId>/local/files",
|
|
"sandbox-path": "/storage/media/local/files",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
},
|
|
{
|
|
"src-path": "/storage/media/<currentUserId>/local/files/Ringtone",
|
|
"sandbox-path": "/storage/media/local/files/Ringtone",
|
|
"sandbox-flags": [ "bind", "rec" ]
|
|
}
|
|
]
|
|
}],
|
|
"ohos.permission.ACCESS_FACTORY_OTA_DIR":[{
|
|
"sandbox-switch": "ON",
|
|
"mount-paths": [{
|
|
"src-path": "/data/update/sd_package",
|
|
"sandbox-path": "/data/update/sd_package",
|
|
"sandbox-flags": [ "bind", "rec" ],
|
|
"check-action-status": "false"
|
|
}
|
|
]
|
|
}]
|
|
}]
|
|
}
|