diff options
| author | Demon000 <demonsingur@gmail.com> | 2018-01-10 23:02:13 +0200 |
|---|---|---|
| committer | Demon Singur <demonsingur@gmail.com> | 2018-02-02 18:07:07 +0000 |
| commit | 63f13f8d4961ad3bfe3eaa6b0fa81166c8c08283 (patch) | |
| tree | e160bf851f94dbe9630735bf516b3ef26e44fdd6 | |
| parent | f8c11f9e2fee92a70cec620ae64a50b8a1bc74bf (diff) | |
sepolicy: label sysfs files used by post_boot
Change-Id: Ie2f25ae9c15e75b0b68685171023a043882fee27
| -rw-r--r-- | sepolicy/file_contexts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 37886d2a..1212be76 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -34,3 +34,10 @@ /system/vendor/bin/init\.qcom\.sh u:object_r:qti_init_shell_exec:s0 /system/vendor/bin/init\.qcom\.post_boot\.sh u:object_r:qti_init_shell_exec:s0 /system/vendor/bin/init\.qcom\.usb\.sh u:object_r:qti_init_shell_exec:s0 + +# Thermal sysfs +/sys/devices/soc\.0/qcom,bcl[^/]*(/.*)? 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/virtual/net/rmnet_ipa0/queues/rx-0/rps_cpus u:object_r:sysfs_devices_system_cpu:s0 +/sys/devices/soc\.0/qcom,cpubw\.[0-9]+/devfreq/qcom,cpubw\.[0-9]+(/.*)? u:object_r:sysfs_devices_system_cpu:s0 +/sys/devices/soc\.0/qcom,mincpubw\.[0-9]+/devfreq/qcom,mincpubw\.[0-9]+(/.*)? u:object_r:sysfs_devices_system_cpu:s0 |
