blob: 9064e5dd476d31bb2b78c30598484588b8845d8b [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
19# Grant access to statsd
20allow rkpdapp statsmanager_service:service_manager find;
21binder_call(rkpdapp, statsd)