Skip to content
Snippets Groups Projects
  • Tri Vo's avatar
    d276b434
    Remove access to 'sysfs' files from healtd and charger. · d276b434
    Tri Vo authored
    We rely on vendors to label all dependencies of healthd/charger under
    /sys/class/power_supply with sysfs_batteryinfo type.
    
    Bug: 65643247
    Bug: 32659667
    Test: boots without denials from healthd, to sysfs_batteryinfo or to
    sysfs_msm_subsys.
    Test: charging with device turned off works without /sys denials.
    
    Change-Id: I893f309ecad8a0caf7d0b81f5f945725907255c2
    d276b434
    History
    Remove access to 'sysfs' files from healtd and charger.
    Tri Vo authored
    We rely on vendors to label all dependencies of healthd/charger under
    /sys/class/power_supply with sysfs_batteryinfo type.
    
    Bug: 65643247
    Bug: 32659667
    Test: boots without denials from healthd, to sysfs_batteryinfo or to
    sysfs_msm_subsys.
    Test: charging with device turned off works without /sys denials.
    
    Change-Id: I893f309ecad8a0caf7d0b81f5f945725907255c2