Alex Klyubin | f5446eb | 2017-03-23 14:27:32 -0700 | [diff] [blame] | 1 | typeattribute keystore coredomain; |
| 2 | |
dcashman | cc39f63 | 2016-07-22 13:13:11 -0700 | [diff] [blame] | 3 | init_daemon_domain(keystore) |
Alex Klyubin | 53656c1 | 2017-04-13 19:05:27 -0700 | [diff] [blame] | 4 | |
| 5 | # talk to keymaster |
| 6 | hal_client_domain(keystore, hal_keymaster) |
| 7 | |
Janis Danisevskis | 97c56bd | 2018-01-09 17:42:53 -0500 | [diff] [blame] | 8 | # talk to confirmationui |
| 9 | hal_client_domain(keystore, hal_confirmationui) |
| 10 | |
| 11 | # This is used for the ConfirmationUI async callback. |
| 12 | allow keystore platform_app:binder call; |
| 13 | |
Pavel Grafov | c5b3330 | 2018-01-24 19:49:18 +0000 | [diff] [blame] | 14 | # Allow to check whether security logging is enabled. |
| 15 | get_prop(keystore, device_logging_prop) |
Janis Danisevskis | c40681f | 2020-07-25 13:02:29 -0700 | [diff] [blame] | 16 | |
| 17 | # Keystore need access to the keystore_key context files to load the keystore key backend. |
| 18 | allow keystore keystore2_key_contexts_file:file r_file_perms; |
Hasini Gunasinghe | 83e1f14 | 2020-06-10 21:10:02 +0000 | [diff] [blame^] | 19 | |
| 20 | # Allow keystore to write to statsd. |
| 21 | unix_socket_send(keystore, statsdw, statsd) |