Files
device_google_wahoo/sepolicy/shell.te
Max Bires f9ad7c6fee Fixing denials that prevented power supply detail access.
Non-root shells didn't have access to capacity measurements; the file
context relabeling and shell access to search sysfs_msm_subsys dir's
fixed this.

Bug: 37875181
Test: cat /sys/class/power_supply/*/capacity returns values as a
non-root user

Change-Id: Iaa64f35b642bc656b8d7630aa621afffd61ae490
2017-05-02 13:20:40 -07:00

3 lines
98 B
Plaintext

# To allow non-root to find power_supply management info
allow shell sysfs_msm_subsys:dir search;