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 };