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 "secon" : "u:r:native_daemon:s0", 20 "start-mode" : "condition" 21 }, { 22 "name" : "hiprofiler_daemon_sa", 23 "path" : ["/system/bin/native_daemon", "sa"], 24 "permission" : ["ohos.permission.ENABLE_PROFILER"], 25 "sandbox" : 0, 26 "caps" : ["CAP_KILL", "CAP_SYS_PTRACE"], 27 "once" : 1, 28 "uid" : "hiprofiler", 29 "gid" : ["shell", "readproc", "system"], 30 "socket" : [{ 31 "name" : "hook_unix_socket", 32 "family" : "AF_UNIX", 33 "type" : "SOCK_STREAM", 34 "protocol" : "default", 35 "permissions" : "0666", 36 "uid" : "hiprofiler", 37 "gid" : "shell" 38 }], 39 "secon" : "u:r:native_daemon:s0", 40 "start-mode" : "condition" 41 } 42 ] 43} 44