security_security_guard/sa_profile/security_collector.cfg
zhaoguojian 826e91feb3 add security_collector uid
Match-id-9bac762f0580411bdb05cbedd51a3e918d372020
2023-12-16 18:43:25 +08:00

17 lines
735 B
INI
Executable File

{
"services": [{
"name" : "security_collector",
"path" : ["/system/bin/sa_main", "/system/profile/security_collector.json"],
"ondemand": true,
"dynamic": true,
"uid" : "security_collector",
"gid" : ["security_collector", "shell"],
"apl" : "system_basic",
"secon" : "u:r:security_collector:s0",
"caps" : ["CAP_DAC_OVERRIDE", "CAP_SYS_PTRACE", "CAP_NET_ADMIN", "CAP_SYS_ADMIN", "CAP_DAC_READ_SEARCH"],
"permission" : ["ohos.permission.securityguard.REPORT_SECURITY_INFO",
"ohos.permission.READ_DFX_SYSEVENT", "ohos.permission.STORAGE_MANAGER",
"ohos.permission.WRITE_USER_STORAGE", "ohos.permission.INPUT_MONITORING"]
}]
}