summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/init_shell.te3
-rw-r--r--common/property.te1
-rw-r--r--common/property_contexts1
3 files changed, 5 insertions, 0 deletions
diff --git a/common/init_shell.te b/common/init_shell.te
index 6af44dc5..f38b7010 100644
--- a/common/init_shell.te
+++ b/common/init_shell.te
@@ -31,6 +31,8 @@ allow qti_init_shell vm_bms_device:chr_file getattr;
# create/open, read/write permission for fm calibration file.
allow qti_init_shell fm_data_file: file create_file_perms;
+allow qti_init_shell gpu_device:chr_file getattr;
+
# for insmod of iris ko, this is needed.
# dac_read/override is needed for scripts to do chown/mkdir which is
# needed by most of the services
@@ -74,6 +76,7 @@ allow qti_init_shell {
ctl_qmuxd_prop
ctl_netmgrd_prop
ctl_port-bridge_prop
+ sdm_idle_time_prop
sf_lcd_density_prop
opengles_prop
mdm_helper_prop
diff --git a/common/property.te b/common/property.te
index 6258e3ee..950f2007 100644
--- a/common/property.te
+++ b/common/property.te
@@ -41,6 +41,7 @@ type ipacm-diag_prop, property_type;
type sensors_prop, property_type;
type msm_irqbalance_prop, property_type;
type camera_prop, property_type, core_property_type;
+type sdm_idle_time_prop, property_type, core_property_type;
type sf_lcd_density_prop, property_type, core_property_type;
type opengles_prop, property_type, core_property_type;
type mdm_helper_prop, property_type;
diff --git a/common/property_contexts b/common/property_contexts
index 939600d5..2468d8d8 100644
--- a/common/property_contexts
+++ b/common/property_contexts
@@ -48,6 +48,7 @@ ctl.sensors u:object_r:sensors_prop:s0
ctl.msm_irqbalance u:object_r:msm_irqbalance_prop:s0
camera. u:object_r:camera_prop:s0
persist.camera. u:object_r:camera_prop:s0
+sdm.idle_time u:object_r:sdm_idle_time_prop:s0
ro.sf.lcd_density u:object_r:sf_lcd_density_prop:s0
ro.opengles.version u:object_r:opengles_prop:s0
ro.qualcomm.bt.hci_transport u:object_r:bluetooth_prop:s0