android_device_samsung_msm8.../sepolicy/hal_fingerprint_default.te
LuK1337 26e4e5df4a msm8976-common: sepolicy: Address hal_fingerprint_default denials
Change-Id: If0218356eedc43f53d180c2415c777c2b7f8bf10
2019-01-19 13:18:48 +01:00

11 lines
645 B
Text

allow hal_fingerprint_default tee_device:chr_file rw_file_perms;
allow hal_fingerprint_default vfsspi_device:chr_file rw_file_perms;
type_transition hal_fingerprint_default system_data_file:{ dir file } biometrics_data_file;
allow hal_fingerprint_default system_data_file:dir { add_name write };
allow hal_fingerprint_default biometrics_data_file:dir create_dir_perms;
allow hal_fingerprint_default biometrics_data_file:file create_file_perms;
allow hal_fingerprint_default fingerprintd_data_file:file create_file_perms;
allow hal_fingerprint_default fingerprintd_data_file:dir rw_dir_perms;
r_dir_file(hal_fingerprint_default, firmware_file)