106f6ba60Sopenharmony_ci{
206f6ba60Sopenharmony_ci    "services" : [{
306f6ba60Sopenharmony_ci            "name" : "hiprofiler_daemon",
406f6ba60Sopenharmony_ci            "path" : ["/system/bin/native_daemon"],
506f6ba60Sopenharmony_ci            "sandbox" : 0,
606f6ba60Sopenharmony_ci            "caps" : ["CAP_KILL", "CAP_SYS_PTRACE"],
706f6ba60Sopenharmony_ci            "once" : 1,
806f6ba60Sopenharmony_ci            "uid" : "hiprofiler",
906f6ba60Sopenharmony_ci            "gid" : ["shell", "readproc", "system"],
1006f6ba60Sopenharmony_ci            "socket" : [{
1106f6ba60Sopenharmony_ci                "name" : "hook_unix_socket",
1206f6ba60Sopenharmony_ci                "family" : "AF_UNIX",
1306f6ba60Sopenharmony_ci                "type" : "SOCK_STREAM",
1406f6ba60Sopenharmony_ci                "protocol" : "default",
1506f6ba60Sopenharmony_ci                "permissions" : "0666",
1606f6ba60Sopenharmony_ci                "uid" : "hiprofiler",
1706f6ba60Sopenharmony_ci                "gid" : "shell"
1806f6ba60Sopenharmony_ci            }],
1906f6ba60Sopenharmony_ci            "permission" : [
2006f6ba60Sopenharmony_ci                "ohos.permission.GET_BUNDLE_INFO"
2106f6ba60Sopenharmony_ci            ],
2206f6ba60Sopenharmony_ci            "secon" : "u:r:native_daemon:s0",
2306f6ba60Sopenharmony_ci            "start-mode" : "condition"
2406f6ba60Sopenharmony_ci        }, {
2506f6ba60Sopenharmony_ci            "name" : "hiprofiler_daemon_sa",
2606f6ba60Sopenharmony_ci            "path" : ["/system/bin/native_daemon", "sa"],
2706f6ba60Sopenharmony_ci            "permission" : [
2806f6ba60Sopenharmony_ci                "ohos.permission.ENABLE_PROFILER",
2906f6ba60Sopenharmony_ci                "ohos.permission.GET_BUNDLE_INFO"
3006f6ba60Sopenharmony_ci            ],
3106f6ba60Sopenharmony_ci            "sandbox" : 0,
3206f6ba60Sopenharmony_ci            "caps" : ["CAP_KILL", "CAP_SYS_PTRACE"],
3306f6ba60Sopenharmony_ci            "once" : 1,
3406f6ba60Sopenharmony_ci            "uid" : "hiprofiler",
3506f6ba60Sopenharmony_ci            "gid" : ["shell", "readproc", "system"],
3606f6ba60Sopenharmony_ci            "socket" : [{
3706f6ba60Sopenharmony_ci                "name" : "hook_unix_socket",
3806f6ba60Sopenharmony_ci                "family" : "AF_UNIX",
3906f6ba60Sopenharmony_ci                "type" : "SOCK_STREAM",
4006f6ba60Sopenharmony_ci                "protocol" : "default",
4106f6ba60Sopenharmony_ci                "permissions" : "0666",
4206f6ba60Sopenharmony_ci                "uid" : "hiprofiler",
4306f6ba60Sopenharmony_ci                "gid" : "shell"
4406f6ba60Sopenharmony_ci            }],
4506f6ba60Sopenharmony_ci            "secon" : "u:r:native_daemon:s0",
4606f6ba60Sopenharmony_ci            "start-mode" : "condition"
4706f6ba60Sopenharmony_ci        }
4806f6ba60Sopenharmony_ci    ]
4906f6ba60Sopenharmony_ci}
50