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
parent d4ecf50aa0
commit 4388860aed

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