commit | dd7d5a7038717e450747ce6fcac249de9e86a67a | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Tue Mar 27 15:05:03 2018 -0700 |
committer | Tri Vo <trong@google.com> | Tue Mar 27 15:18:30 2018 -0700 |
tree | 3cee9497d3062bf4ec8dc8edde531911d3e77603 | |
parent | f81c1227db65a5e20d8d3bc60b74a996ba251057 [diff] |
Fix aosp healthd. We only need this change for aosp devices. Internal sepolicy for healthd domain is different and does not need this. Addresses this denial: avc: denied { open } for path="/sys/class/power_supply" dev="sysfs" ino=25340 scontext=u:r:healthd:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1 Test: $OUT/vendor/etc/selinux/precompiled_sepolicy contains the new permission. Change-Id: Ie47c231af800026fd9d8a1f752253bb338768c13