summaryrefslogtreecommitdiff
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authordcashman <dcashman@google.com>2016-01-05 14:37:10 -0800
committerdcashman <dcashman@google.com>2016-01-05 15:37:58 -0800
commite11ec527949a87fcdfe6fa6134324bd342eddae3 (patch)
treec6f98b4c3842e6f1c52698d5b76db0cc21dcf4a0 /sepolicy/file_contexts
parent92dbb4451e7950853edb7eb9e3370bc4e628a478 (diff)
downloadbullhead-e11ec527949a87fcdfe6fa6134324bd342eddae3.tar.gz
Label /sys/class/power_supply/battery/capacity.
Bug: 26219114 Change-Id: I206296d15614d4e3e69d6748c528b76f9fa9a52e
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index c8d2e5c..181f694 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -145,6 +145,7 @@
/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/soc\.0/fdb00000\.qcom,kgsl-3d0/kgsl/kgsl-3d0/max_gpuclk u:object_r:sysfs_thermal:s0
+/sys/devices/soc\.0/qpnp-smbcharger-[0-9a-f]+/power_supply/battery/capacity u:object_r:sysfs_batteryinfo: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