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