2020-01-17 22:47:53 +01:00
|
|
|
typeattribute credstore coredomain;
|
|
|
|
|
|
|
|
init_daemon_domain(credstore)
|
|
|
|
|
|
|
|
# talk to Identity Credential
|
|
|
|
hal_client_domain(credstore, hal_identity)
|
2022-02-02 22:36:50 +01:00
|
|
|
|
|
|
|
# talk to keymint, specifically for IRemotelyProvisionedComponent/default
|
|
|
|
hal_client_domain(credstore, hal_keymint)
|
|
|
|
|
2023-01-18 01:07:16 +01:00
|
|
|
# credstore needs to get keys from the RKPD
|
2023-01-25 21:23:36 +01:00
|
|
|
get_prop(credstore, remote_prov_prop)
|
2023-01-18 01:07:16 +01:00
|
|
|
allow credstore remote_provisioning_service:service_manager find;
|
2024-03-27 09:18:41 +01:00
|
|
|
|
|
|
|
binder_use(credstore)
|
|
|
|
binder_service(credstore)
|
|
|
|
binder_call(credstore, system_server)
|
|
|
|
|
|
|
|
allow credstore credstore_data_file:dir create_dir_perms;
|
|
|
|
allow credstore credstore_data_file:file create_file_perms;
|
|
|
|
|
|
|
|
add_service(credstore, credstore_service)
|
|
|
|
allow credstore sec_key_att_app_id_provider_service:service_manager find;
|
|
|
|
allow credstore dropbox_service:service_manager find;
|
|
|
|
allow credstore authorization_service:service_manager find;
|
|
|
|
allow credstore keystore:keystore2 get_auth_token;
|
|
|
|
|
|
|
|
r_dir_file(credstore, cgroup)
|
|
|
|
r_dir_file(credstore, cgroup_v2)
|