summaryrefslogtreecommitdiffstats
path: root/private
diff options
context:
space:
mode:
Diffstat (limited to 'private')
-rw-r--r--private/file_contexts1
-rw-r--r--private/mmi_sys.te2
2 files changed, 3 insertions, 0 deletions
diff --git a/private/file_contexts b/private/file_contexts
index 85d9c860..129bf5c6 100644
--- a/private/file_contexts
+++ b/private/file_contexts
@@ -48,6 +48,7 @@
/system/bin/qvrservice u:object_r:qvrd_exec:s0
/system/bin/wfdservice u:object_r:wfdservice_exec:s0
/system/bin/mmi u:object_r:mmi_sys_exec:s0
+/system/bin/mmi_diag u:object_r:mmi_sys_exec:s0
####### data files ################
/data/misc/seemp(/.*)? u:object_r:seemp_data_file:s0
diff --git a/private/mmi_sys.te b/private/mmi_sys.te
index 790d1125..11bda28c 100644
--- a/private/mmi_sys.te
+++ b/private/mmi_sys.te
@@ -40,3 +40,5 @@ allow mmi_sys ion_device:chr_file { ioctl open };
allow mmi_sys surfaceflinger_service:service_manager find;
allow mmi_sys hal_graphics_mapper_hwservice:hwservice_manager find;
hwbinder_use(mmi_sys)
+get_prop(mmi_sys, hwservicemanager_prop);
+allow mmi_sys mmi_sys_exec:file execute_no_trans;