Skip to content
Snippets Groups Projects
  • Tianjie Xu's avatar
    Allow recovery to read thermal info on sailfish · 71bccc7a
    Tianjie Xu authored
    Encountered more denials on sailfish:
    
    avc:  denied  { read } for  pid=439 comm="recovery" name="thermal"
    dev="sysfs" ino=28516 scontext=u:r:recovery:s0
    tcontext=u:object_r:sysfs_thermal:s0 tclass=dir permissive=0
    
    avc:  denied  { read } for  pid=441 comm="recovery"
    name="thermal_zone9" dev="sysfs" ino=40364 scontext=u:r:recovery:s0
    tcontext=u:object_r:sysfs_thermal:s0 tclass=lnk_file permissive=0
    
    Bug: 36920500
    Test: sideload a package in sailfish
    (cherry picked from commit b4e4565d)
    
    Change-Id: I46b14babd47168e87c0d30ec06281aaa237563bf
    71bccc7a