Skip to content
Snippets Groups Projects
  • Tianjie Xu's avatar
    b4e4565d
    Allow recovery to read thermal info on sailfish · b4e4565d
    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
    Change-Id: Ib4e89ba48cdc383318e5f3b7b15f542434e43564
    b4e4565d
    History
    Allow recovery to read thermal info on sailfish
    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
    Change-Id: Ib4e89ba48cdc383318e5f3b7b15f542434e43564