user 模式下增加 network_profiler socket 的全新

Signed-off-by: wenlong_12 <wenlong12@huawei.com>
This commit is contained in:
wenlong_12 2024-07-15 11:14:18 +00:00 committed by Gitee
parent 8a7bd14cb8
commit 5c56cdd2d4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -10,6 +10,15 @@
"secon" : "u:r:hiprofiler_plugins:s0",
"start-mode" : "condition",
"apl" : "system_basic",
"socket" : [{
"name" : "network_profiler_unix_socket",
"family" : "AF_UNIX",
"type" : "SOCK_STREAM",
"protocol" : "default",
"permissions" : "0666",
"uid" : "hiprofiler",
"gid" : "shell"
}],
"permission" : [
"ohos.permission.READ_DFX_SYSEVENT",
"ohos.permission.WRITE_HIVIEW_SYSTEM",