Merge pull request #224 from DarkJoker360/10-emui9-fp

Address Huawei fingerprint denials
This commit is contained in:
Pierre-Hugues HUSSON 2021-01-22 10:52:41 +01:00 committed by GitHub
commit 1ddbcc1216
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,10 @@ type teecd_data_file, file_type;
type dmd_device, file_type;
allow hal_fingerprint_server dmd_device:chr_file rw_file_perms;
allow hal_fingerprint_server sysfs:file rw_file_perms;
allow tee hal_fingerprint_default:process { getattr };
allow tee teecd_data_file:dir { search write getattr add_name };
allow tee teecd_data_file:file { read write create getattr open };
allow tee system_data_file:dir { getattr };
type oeminfo_nvm, domain;
type oeminfo_nvm_device, file_type;