1{ 2 "services" : [{ 3 "name" : "hiprofiler_daemon", 4 "path" : ["/system/bin/native_daemon"], 5 "sandbox" : 0, 6 "caps" : ["CAP_KILL", "CAP_SYS_PTRACE"], 7 "once" : 1, 8 "uid" : "hiprofiler", 9 "gid" : ["shell", "readproc", "system"], 10 "socket" : [{ 11 "name" : "hook_unix_socket", 12 "family" : "AF_UNIX", 13 "type" : "SOCK_STREAM", 14 "protocol" : "default", 15 "permissions" : "0666", 16 "uid" : "hiprofiler", 17 "gid" : "shell" 18 }], 19 "permission" : ["ohos.permission.GET_BUNDLE_INFO"], 20 "secon" : "u:r:native_daemon:s0", 21 "start-mode" : "condition" 22 }, { 23 "name" : "hiprofiler_daemon_sa", 24 "path" : ["/system/bin/native_daemon", "sa"], 25 "permission" : ["ohos.permission.ENABLE_PROFILER", 26 "ohos.permission.GET_BUNDLE_INFO" 27 ], 28 "sandbox" : 0, 29 "caps" : ["CAP_KILL", "CAP_SYS_PTRACE"], 30 "once" : 1, 31 "uid" : "hiprofiler", 32 "gid" : ["shell", "readproc", "system"], 33 "socket" : [{ 34 "name" : "hook_unix_socket", 35 "family" : "AF_UNIX", 36 "type" : "SOCK_STREAM", 37 "protocol" : "default", 38 "permissions" : "0666", 39 "uid" : "hiprofiler", 40 "gid" : "shell" 41 }], 42 "secon" : "u:r:native_daemon:s0", 43 "start-mode" : "condition" 44 } 45 ] 46} 47