summaryrefslogtreecommitdiffstats
path: root/msmcobalt
diff options
context:
space:
mode:
Diffstat (limited to 'msmcobalt')
-rw-r--r--msmcobalt/file_contexts7
-rw-r--r--msmcobalt/qvop.te4
2 files changed, 9 insertions, 2 deletions
diff --git a/msmcobalt/file_contexts b/msmcobalt/file_contexts
index 0a29e092..46ad29a2 100644
--- a/msmcobalt/file_contexts
+++ b/msmcobalt/file_contexts
@@ -37,7 +37,7 @@
/dev/block/platform/soc/1da4000.ufshc/by-name/modemst1 u:object_r:modem_efs_partition_device:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/modemst2 u:object_r:modem_efs_partition_device:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/ssd u:object_r:ssd_device:s0
-/dev/block/platform/soc/1da4000.ufshc/by-name/misc u:object_r:misc_partition:s0
+/dev/block/platform/soc/1da4000.ufshc/by-name/misc u:object_r:misc_block_device:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/rpm u:object_r:rpmb_device:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/msadp u:object_r:mba_debug_dev:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/recovery u:object_r:recovery_block_device:s0
@@ -55,3 +55,8 @@
# data files
#
/data/misc/qvop(/.*)? u:object_r:qvop_data_file:s0
+
+##################################
+# non-hlos mount points
+/firmware u:object_r:firmware_file:s0
+/bt_firmware u:object_r:bt_firmware_file:s0
diff --git a/msmcobalt/qvop.te b/msmcobalt/qvop.te
index 47b61b31..ce69fa4d 100644
--- a/msmcobalt/qvop.te
+++ b/msmcobalt/qvop.te
@@ -41,4 +41,6 @@ allow qvop iqvop_service:service_manager add;
binder_use(qvop)
allow qvop tee_device:chr_file rw_file_perms;
-r_dir_file(qvop, firmware_file) \ No newline at end of file
+r_dir_file(qvop, firmware_file)
+
+allow qvop ion_device:chr_file r_file_perms; \ No newline at end of file