From a484416c992d457e670df73dbf4fc1c2781b0ff9 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 30 Nov 2019 20:38:41 +0100 Subject: [PATCH] Fix fingerprint on Honor View 10 --- sepolicy/huawei.te | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sepolicy/huawei.te b/sepolicy/huawei.te index d98cded..f28947e 100644 --- a/sepolicy/huawei.te +++ b/sepolicy/huawei.te @@ -1,2 +1,11 @@ allow ueventd proc:file r_file_perms; permissive ueventd; + +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; + +type oeminfo_nvm, domain; +type oeminfo_nvm_device, file_type; +allowxperm oeminfo_nvm oeminfo_nvm_device:blk_file ioctl { 0x1260 };