diff options
| author | Wang Han <416810799@qq.com> | 2019-01-20 23:27:32 +0800 |
|---|---|---|
| committer | Han Wang <416810799@qq.com> | 2019-01-27 09:24:22 +0100 |
| commit | 81a0d0e49da08a36f0ec4456d230cf9afe2f869f (patch) | |
| tree | 314b753fe12a3d1c3599c366772ad64ec5458522 | |
| parent | d8ffb1026768d9a84727f5cb8b5751764f925436 (diff) | |
oneplus2: sepolicy: Move bw_hwmon policy to genfs_contexts
* Maybe this will get it labeled?
Change-Id: Iba4b264bf56ab1fc0626d06295ee99b00006c823
| -rw-r--r-- | sepolicy/file_contexts | 1 | ||||
| -rw-r--r-- | sepolicy/genfs_contexts | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 523018a..30d49fd 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -21,7 +21,6 @@ # Core_ctl /(vendor|system/vendor)/bin/init\.oneplus2\.power\.sh u:object_r:init-power-sh_exec: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,cpubw\.[0-9]+/devfreq/qcom,cpubw\.[0-9]+/bw_hwmon(/.*)? 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 /sys/devices/virtual/net/rmnet_ipa0/queues/rx-0/rps_cpus u:object_r:sysfs_devices_system_cpu:s0 /sys/devices/soc\.0/qcom,gpubw\.[0-9]+/devfreq/qcom,gpubw\.[0-9]+(/.*)? u:object_r:sysfs_thermal:s0 diff --git a/sepolicy/genfs_contexts b/sepolicy/genfs_contexts index 4f8347a..97cec30 100644 --- a/sepolicy/genfs_contexts +++ b/sepolicy/genfs_contexts @@ -16,3 +16,4 @@ genfscon proc /touchpanel u:object_r:proc_touchpanel genfscon sysfs /devices/soc.0/f9824900.sdhci/mmc_host/mmc0/mmc0:0001/block/mmcblk0/stat u:object_r:sysfs_disk_stat:s0 genfscon sysfs /devices/soc.0/f9824900.sdhci/mmc_host/mmc0/mmc0:0001/block/mmcblk0/queue/scheduler u:object_r:sysfs_scheduler:s0 genfscon sysfs /devices/soc.0/f9824900.sdhci/mmc_host/mmc0/mmc0:0001/block/mmcblk0/queue/iosched/slice_idle u:object_r:sysfs_scheduler:s0 +genfscon sysfs /devices/soc.0/qcom,cpubw.33/devfreq/qcom,cpubw.33/bw_hwmon/io_percent u:object_r:sysfs_devices_system_cpu:s0 |
