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
parent 05b863b07a
commit d917563900
2 changed files with 3 additions and 0 deletions

View File

@ -18,3 +18,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;