Address charger denials on Huawei devices

Thanks to phh and Hamido for the help
This commit is contained in:
DarkJoker360 2020-06-23 14:33:49 +02:00 committed by tboy1991
parent 22c62918c1
commit 6cc0282277

View File

@ -9,3 +9,5 @@ allow hal_fingerprint_server sysfs:file rw_file_perms;
type oeminfo_nvm, domain; type oeminfo_nvm, domain;
type oeminfo_nvm_device, file_type; type oeminfo_nvm_device, file_type;
allowxperm oeminfo_nvm oeminfo_nvm_device:blk_file ioctl { 0x1260 }; allowxperm oeminfo_nvm oeminfo_nvm_device:blk_file ioctl { 0x1260 };
allow charger rootfs:file { ioctl read getattr lock map execute entrypoint open };