diff options
author | Alexander Martinz <eviscerationls@gmail.com> | 2016-12-22 17:19:51 +0100 |
---|---|---|
committer | davidevinavil <davidevinavil@gmail.com> | 2017-01-14 15:50:59 +0100 |
commit | 10c269b98d00843a149f459c142ad925f4e84e0d (patch) | |
tree | 07b4233306a39a1b55cd2eadd16520a17d758b63 /sepolicy/thermal-engine.te | |
parent | 79160fd59c8f5008b823e06fc94d6c01bb0b42bf (diff) |
z2_plus: thermal-engine: allow reading kgsl sysfs
type=1400 audit(1482423426.553:71): avc: denied { read } for pid=7482 comm="thermal-engine" name="gpu_available_frequencies" dev="sysfs" ino=28723 scontext=u:r:thermal-engine:s0 tcontext=u:object_r:sysfs_kgsl:s0 tclass=file permissive=1
type=1400 audit(1482423426.553:72): avc: denied { open } for pid=7482 comm="thermal-engine" path="/sys/devices/soc/b00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/gpu_available_frequencies" dev="sysfs" ino=28723 scontext=u:r:thermal-engine:s0 tcontext=u:object_r:sysfs_kgsl:s0 tclass=file permissive=1
type=1400 audit(1482423426.553:73): avc: denied { getattr } for pid=7482 comm="thermal-engine" path="/sys/devices/soc/b00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/gpu_available_frequencies" dev="sysfs" ino=28723 scontext=u:r:thermal-engine:s0 tcontext=u:object_r:sysfs_kgsl:s0 tclass=file permissive=1
Change-Id: I665d52c2bc80116454c14abcfccbd8dfacbd00ce
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
Diffstat (limited to 'sepolicy/thermal-engine.te')
-rw-r--r-- | sepolicy/thermal-engine.te | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/thermal-engine.te b/sepolicy/thermal-engine.te index 95382bf..3754b93 100644 --- a/sepolicy/thermal-engine.te +++ b/sepolicy/thermal-engine.te @@ -1,2 +1,3 @@ set_prop(thermal-engine, diag_prop) allow thermal-engine sysfs_batteryinfo:file r_file_perms; +allow thermal-engine sysfs_kgsl:file r_file_perms; |