blob: 21f9b0ca19a771056d88419ccab84f13a4aeda4c [file] [log] [blame]
Seth Moore71fa94e2022-10-28 13:46:16 -07001###
2### A domain for sandboxing the remote key provisioning daemon
3### app that is shipped via mainline.
4###
5typeattribute rkpdapp coredomain;
6
7app_domain(rkpdapp)
Vikram Gaur592b3452022-12-01 18:53:36 +00008net_domain(rkpdapp)
Seth Moore71fa94e2022-10-28 13:46:16 -07009
10# RKPD needs to be able to call the remote provisioning HALs
11hal_client_domain(rkpdapp, hal_keymint)
12
13# Grant access to certain system properties related to RKP
14get_prop(rkpdapp, device_config_remote_key_provisioning_native_prop)
15
16# Grant access to the normal services that are available to all apps
17allow rkpdapp app_api_service:service_manager find;
18
Vikram Gaur91f5c532022-12-15 06:11:49 +000019# Grant access to media.metrics service, needed for widevine. This
20# access is granted to all other apps already (e.g. untrusted_app_all).
21allow rkpdapp mediametrics_service:service_manager find;
22
Seth Moore71fa94e2022-10-28 13:46:16 -070023# Grant access to statsd
24allow rkpdapp statsmanager_service:service_manager find;
25binder_call(rkpdapp, statsd)