Skip to content
Snippets Groups Projects
  • Tri Vo's avatar
    dd7d5a70
    Fix aosp healthd. · dd7d5a70
    Tri Vo authored
    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
    dd7d5a70
    History
    Fix aosp healthd.
    Tri Vo authored
    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