diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index cdd3e4f..23058ae 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -16,3 +16,4 @@ /efs u:object_r:efs_file:s0 +/dev/smcinvoke u:object_r:smcinvoke_device:s0 diff --git a/sepolicy/qualcomm.te b/sepolicy/qualcomm.te index fba8ed8..30a9a6c 100644 --- a/sepolicy/qualcomm.te +++ b/sepolicy/qualcomm.te @@ -24,3 +24,5 @@ allow ipacm hal_tetheroffload_hwservice:hwservice_manager { add }; type rpmb_device, file_type; allow tee rpmb_device:blk_file rw_file_perms; allowxperm tee rpmb_device:blk_file ioctl { 0xb300-0xbfff }; + +type smcinvoke_device, dev_type;