blob: 426b73ad27e574d34b69c277ba47a00b5492e9da [file] [log] [blame]
Jim Miller54e0e5a2016-12-15 19:46:43 -08001hwbinder_use(hal_fingerprint)
2
3# Scan through /system/lib64/hw looking for installed HALs
4allow hal_fingerprint system_file:dir r_dir_perms;
5
6# allow HAL module to read dir contents
7allow hal_fingerprint fingerprintd_data_file:file create_file_perms;
8
9# allow HAL module to read/write/unlink contents of this dir
10allow hal_fingerprint fingerprintd_data_file:dir rw_dir_perms;
11
12# Need to add auth tokens to KeyStore
13use_keystore(hal_fingerprint)
14allow hal_fingerprint keystore:keystore_key add_auth;
15
16# For permissions checking
17binder_call(hal_fingerprint, system_server);
18allow hal_fingerprint permission_service:service_manager find;
19
20# For memory allocation
21allow hal_fingerprint ion_device:chr_file r_file_perms;
22
23r_dir_file(hal_fingerprint, cgroup)