blob: 3d8a78deeb737a33805a533b8212e09a32a0b7b6 [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
21r_dir_file(hal_fingerprint, cgroup)