16ea96550Sopenharmony_ci{ 26ea96550Sopenharmony_ci "jobs": [ 36ea96550Sopenharmony_ci { 46ea96550Sopenharmony_ci "name": "services:security_guard", 56ea96550Sopenharmony_ci "cmds": [ 66ea96550Sopenharmony_ci "mkdir /data/service/el1/public/database 0711 ddms ddms", 76ea96550Sopenharmony_ci "mkdir /data/service/el1/public/database/security_guard_service 02770 security_guard ddms", 86ea96550Sopenharmony_ci "mkdir /data/service/el1/public/security_guard 0700 security_guard security_guard", 96ea96550Sopenharmony_ci "mkdir /data/service/el1/public/security_guard/tmp 0700 security_guard security_guard", 106ea96550Sopenharmony_ci "chown security_guard security_guard /dev/hkids", 116ea96550Sopenharmony_ci "chown security_guard security_guard /proc/devhost/root/kernel_sg" 126ea96550Sopenharmony_ci ] 136ea96550Sopenharmony_ci } 146ea96550Sopenharmony_ci ], 156ea96550Sopenharmony_ci "services": [ 166ea96550Sopenharmony_ci { 176ea96550Sopenharmony_ci "name": "security_guard", 186ea96550Sopenharmony_ci "path": [ 196ea96550Sopenharmony_ci "/system/bin/sa_main", 206ea96550Sopenharmony_ci "/system/profile/security_guard.json" 216ea96550Sopenharmony_ci ], 226ea96550Sopenharmony_ci "uid": "security_guard", 236ea96550Sopenharmony_ci "gid": [ 246ea96550Sopenharmony_ci "security_guard", 256ea96550Sopenharmony_ci "shell" 266ea96550Sopenharmony_ci ], 276ea96550Sopenharmony_ci "apl": "system_basic", 286ea96550Sopenharmony_ci "secon": "u:r:security_guard:s0", 296ea96550Sopenharmony_ci "permission": [ 306ea96550Sopenharmony_ci "ohos.permission.securityguard.REPORT_SECURITY_INFO", 316ea96550Sopenharmony_ci "ohos.permission.READ_DFX_SYSEVENT", 326ea96550Sopenharmony_ci "ohos.permission.ACCESS_SERVICE_DM", 336ea96550Sopenharmony_ci "ohos.permission.hsdr.HSDR_ACCESS", 346ea96550Sopenharmony_ci "ohos.permission.hsdr.REQUEST_HSDR", 356ea96550Sopenharmony_ci "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS", 366ea96550Sopenharmony_ci "ohos.permission.GET_NETWORK_INFO", 376ea96550Sopenharmony_ci "ohos.permission.ATTEST_KEY", 386ea96550Sopenharmony_ci "ohos.permission.QUERY_SECURITY_EVENT", 396ea96550Sopenharmony_ci "ohos.permission.REPORT_SECURITY_EVENT", 406ea96550Sopenharmony_ci "ohos.permission.QUERY_SECURITY_MODEL_RESULT", 416ea96550Sopenharmony_ci "ohos.permission.QUERY_SECURITY_POLICY_FROM_CLOUD", 426ea96550Sopenharmony_ci "ohos.permission.REPORT_SECURITY_EVENT_TO_CLOUD", 436ea96550Sopenharmony_ci "ohos.permission.COLLECT_SECURITY_EVENT", 446ea96550Sopenharmony_ci "ohos.permission.MANAGE_SECURITY_GUARD_CONFIG", 456ea96550Sopenharmony_ci "ohos.permission.PUBLISH_SYSTEM_COMMON_EVENT" 466ea96550Sopenharmony_ci ], 476ea96550Sopenharmony_ci "permission_acls": [ 486ea96550Sopenharmony_ci "ohos.permission.COLLECT_SECURITY_EVENT" 496ea96550Sopenharmony_ci ], 506ea96550Sopenharmony_ci "jobs": { 516ea96550Sopenharmony_ci "on-start": "services:security_guard" 526ea96550Sopenharmony_ci } 536ea96550Sopenharmony_ci } 546ea96550Sopenharmony_ci ] 556ea96550Sopenharmony_ci}