blob: 8405a7ea88e1b0736e2a1bf1584143d7a46465a9 [file] [log] [blame]
Jim Miller54e0e5a2016-12-15 19:46:43 -08001# allow HAL module to read dir contents
2allow hal_fingerprint fingerprintd_data_file:file create_file_perms;
3
4# allow HAL module to read/write/unlink contents of this dir
5allow hal_fingerprint fingerprintd_data_file:dir rw_dir_perms;
6
7# Need to add auth tokens to KeyStore
8use_keystore(hal_fingerprint)
9allow hal_fingerprint keystore:keystore_key add_auth;
10
11# For permissions checking
12binder_call(hal_fingerprint, system_server);
13allow hal_fingerprint permission_service:service_manager find;
14
15# For memory allocation
16allow hal_fingerprint ion_device:chr_file r_file_perms;
17
Jim Miller27960092017-01-18 21:29:57 -080018# Allow fingerprint to find and call keystore binder interfaces
19binder_use(hal_fingerprint);
20
Jim Miller54e0e5a2016-12-15 19:46:43 -080021r_dir_file(hal_fingerprint, cgroup)
Jeff Vander Stoep350a6032017-02-10 13:20:52 -080022r_dir_file(hal_fingerprint, sysfs)