summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2016-09-27 00:54:07 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-09-27 00:54:07 +0000
commitb03ea539266a22c54bd9cc01c99c7002bdd7eb5d (patch)
tree8e2c5947ed0c265f2cbe6b681b035cdcf50aac8d
parent5b3d4063f6edb7fb674daded9c116980b9d1d6e6 (diff)
parente25bd405a25b7c71ffedabf6923e870587d3ff10 (diff)
downloadshamu-b03ea539266a22c54bd9cc01c99c7002bdd7eb5d.tar.gz
Merge "Allow shell to access battery info" into nyc-mr1-dev
-rw-r--r--sepolicy/file_contexts5
1 files changed, 4 insertions, 1 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 993a745d..2f905598 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -156,7 +156,10 @@
# mmi_touch related /sys files
/sys/devices/f9966000\.i2c/i2c-1/1-004a(/.*)? u:object_r:sysfs_mmi_touch:s0
-/sys/devices/f9925000\.i2c/i2c-0/0-001c/power_supply/battery/capacity u:object_r:sysfs_batteryinfo:s0
+/sys/devices/f9925000\.i2c/i2c-0/0-001c/power_supply/battery/capacity u:object_r:sysfs_batteryinfo:s0
+/sys/devices/f9925000\.i2c/i2c-0/0-001c/power_supply/battery/cycle_count u:object_r:sysfs_batteryinfo:s0
+/sys/devices/f9925000\.i2c/i2c-0/0-001c/power_supply/battery/temp u:object_r:sysfs_batteryinfo:s0
+/sys/devices/f9964000\.i2c/i2c-8/8-0048/temp1_input u:object_r:sysfs_batteryinfo:s0
# Context for mpdecision
/sys/module/msm_thermal/core_control/cpus_offlined u:object_r:sysfs_mpdecision:s0