Seth Moore | 71fa94e | 2022-10-28 13:46:16 -0700 | [diff] [blame] | 1 | ### |
| 2 | ### A domain for sandboxing the remote key provisioning daemon |
| 3 | ### app that is shipped via mainline. |
| 4 | ### |
| 5 | typeattribute rkpdapp coredomain; |
| 6 | |
| 7 | app_domain(rkpdapp) |
Vikram Gaur | 592b345 | 2022-12-01 18:53:36 +0000 | [diff] [blame] | 8 | net_domain(rkpdapp) |
Seth Moore | 71fa94e | 2022-10-28 13:46:16 -0700 | [diff] [blame] | 9 | |
| 10 | # RKPD needs to be able to call the remote provisioning HALs |
| 11 | hal_client_domain(rkpdapp, hal_keymint) |
| 12 | |
| 13 | # Grant access to certain system properties related to RKP |
| 14 | get_prop(rkpdapp, device_config_remote_key_provisioning_native_prop) |
| 15 | |
| 16 | # Grant access to the normal services that are available to all apps |
| 17 | allow rkpdapp app_api_service:service_manager find; |
| 18 | |
| 19 | # Grant access to statsd |
| 20 | allow rkpdapp statsmanager_service:service_manager find; |
| 21 | binder_call(rkpdapp, statsd) |