2017-05-15 13:19:03 -07:00
|
|
|
type fingerprintd, domain;
|
2018-09-27 10:21:37 -07:00
|
|
|
type fingerprintd_exec, system_file_type, exec_type, file_type;
|
2015-05-12 15:16:06 -07:00
|
|
|
|
|
|
|
binder_use(fingerprintd)
|
|
|
|
|
2016-11-25 18:00:38 -08:00
|
|
|
# Scan through /system/lib64/hw looking for installed HALs
|
|
|
|
allow fingerprintd system_file:dir r_dir_perms;
|
|
|
|
|
2015-05-12 15:16:06 -07:00
|
|
|
# need to find KeyStore and add self
|
2017-01-19 13:23:52 -08:00
|
|
|
add_service(fingerprintd, fingerprintd_service)
|
2015-05-12 15:16:06 -07:00
|
|
|
|
|
|
|
# allow HAL module to read dir contents
|
|
|
|
allow fingerprintd fingerprintd_data_file:file { create_file_perms };
|
|
|
|
|
|
|
|
# allow HAL module to read/write/unlink contents of this dir
|
|
|
|
allow fingerprintd fingerprintd_data_file:dir rw_dir_perms;
|
|
|
|
|
|
|
|
# Need to add auth tokens to KeyStore
|
|
|
|
use_keystore(fingerprintd)
|
|
|
|
allow fingerprintd keystore:keystore_key { add_auth };
|
|
|
|
|
|
|
|
# For permissions checking
|
|
|
|
binder_call(fingerprintd, system_server);
|
|
|
|
allow fingerprintd permission_service:service_manager find;
|
2016-09-09 16:27:17 -07:00
|
|
|
|
|
|
|
allow fingerprintd ion_device:chr_file r_file_perms;
|