Add smcinvoke dev type. Should fix widevine on Redmi Note 9S

This commit is contained in:
Pierre-Hugues Husson 2020-05-29 10:12:22 +02:00 committed by tboy1991
parent a3d37b4e23
commit f2790b44b4
2 changed files with 3 additions and 0 deletions

View File

@ -16,3 +16,4 @@
/efs u:object_r:efs_file:s0 /efs u:object_r:efs_file:s0
/dev/smcinvoke u:object_r:smcinvoke_device:s0

View File

@ -24,3 +24,5 @@ allow ipacm hal_tetheroffload_hwservice:hwservice_manager { add };
type rpmb_device, file_type; type rpmb_device, file_type;
allow tee rpmb_device:blk_file rw_file_perms; allow tee rpmb_device:blk_file rw_file_perms;
allowxperm tee rpmb_device:blk_file ioctl { 0xb300-0xbfff }; allowxperm tee rpmb_device:blk_file ioctl { 0xb300-0xbfff };
type smcinvoke_device, dev_type;