diff options
author | Hyejin <hyejin.kim@lge.com> | 2015-08-31 13:36:45 -0700 |
---|---|---|
committer | Vineeta Srivastava <vsrivastava@google.com> | 2015-08-31 16:45:01 -0700 |
commit | bfd06e1a9594dc88322786c5dfbfb81b0f860811 (patch) | |
tree | 01e384144b539edbfb8f76f7fa540a390fb70387 /sepolicy | |
parent | 339d422e8a5ec1f128c932c506e6b8a48d38c568 (diff) | |
download | bullhead-bfd06e1a9594dc88322786c5dfbfb81b0f860811.tar.gz |
bullhead/sepolicy: Set kgsl-3d0/default_pwrlevel to sysfs_thermal
avc: denied { write } for pid=381 comm="init.bullhead.p" name="default_pwrlevel" dev="sysfs" ino=13211 scontext=u:r:init-power-sh:s0 tcontext=u:object_r:sysfs:s0 tclass=file
Change-Id: I4c5489318e7b6be458054a60759c7f909777e3c9
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/file_contexts | 3 | ||||
-rw-r--r-- | sepolicy/init-power-sh.te | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 1a64f54..acf6432 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -143,7 +143,8 @@ /sys/devices/soc0/.* u:object_r:sysfs_socinfo:s0 /sys/module/msm_serial_hs/parameters/debug_mask u:object_r:sysfs_msmuart_file:s0 /sys/devices/soc\.0/qcom,bcl[^/]*(/.*)? u:object_r:sysfs_thermal:s0 -/sys/devices/soc\.0/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/max_gpuclk u:object_r:sysfs_thermal:s0 +/sys/devices/soc\.0/fdb00000\.qcom,kgsl-3d0/kgsl/kgsl-3d0/default_pwrlevel u:object_r:sysfs_thermal:s0 +/sys/devices/soc\.0/fdb00000\.qcom,kgsl-3d0/kgsl/kgsl-3d0/max_gpuclk u:object_r:sysfs_thermal:s0 /sys/module/lpm_levels(/.*)? u:object_r:sysfs_power_management:s0 /sys/module/cpu_boost(/.*)? u:object_r:sysfs_devices_system_cpu:s0 /sys/devices/virtual/net/rmnet_ipa0/queues/rx-0/rps_cpus u:object_r:sysfs_devices_system_cpu:s0 diff --git a/sepolicy/init-power-sh.te b/sepolicy/init-power-sh.te index 942d2d5..2c8aa63 100644 --- a/sepolicy/init-power-sh.te +++ b/sepolicy/init-power-sh.te @@ -6,7 +6,6 @@ init_daemon_domain(init-power-sh) allow init-power-sh proc_kernel_sched:file w_file_perms; allow init-power-sh self:capability net_admin; allow init-power-sh shell_exec:file r_file_perms; -allow init-power-sh sysfs_thermal:file w_file_perms; allow init-power-sh sysfs_devices_system_cpu:file w_file_perms; allow init-power-sh sysfs_performance:dir search; allow init-power-sh sysfs_performance:file w_file_perms; |