增加GET_BUNDLE_INFO 权限

Signed-off-by: wenlong_12 <wenlong12@huawei.com>
This commit is contained in:
wenlong_12 2024-08-26 08:06:20 +00:00 committed by Gitee
parent b8a1fa75ed
commit 48cf63ec8e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -16,12 +16,18 @@
"uid" : "hiprofiler",
"gid" : "shell"
}],
"permission" : [
"ohos.permission.GET_BUNDLE_INFO"
],
"secon" : "u:r:native_daemon:s0",
"start-mode" : "condition"
}, {
"name" : "hiprofiler_daemon_sa",
"path" : ["/system/bin/native_daemon", "sa"],
"permission" : ["ohos.permission.ENABLE_PROFILER"],
"permission" : [
"ohos.permission.ENABLE_PROFILER",
"ohos.permission.GET_BUNDLE_INFO"
],
"sandbox" : 0,
"caps" : ["CAP_KILL", "CAP_SYS_PTRACE"],
"once" : 1,