Skip to content
Snippets Groups Projects
  • Tianjie Xu's avatar
    15bf1b52
    Allow recovery to read thermal info · 15bf1b52
    Tianjie Xu authored
    We want to track temperature metrics during an OTA update.
    
    denial message:
    denied  { search } for  pid=349 comm="recovery" name="thermal"
    dev="sysfs" ino=18029 scontext=u:r:recovery:s0
    tcontext=u:object_r:sysfs_thermal:s0 tclass=dir permissive=0
    
    denied  { read } for  pid=326 comm="recovery" name="temp"
    dev="sysfs" ino=18479 scontext=u:r:recovery:s0
    tcontext=u:object_r:sysfs_thermal:s0 tclass=file permissive=0
    
    Bug: 36920500
    Bug: 32518487
    Test: temperature logs on angler
    Change-Id: Ib70c1c7b4e05f91a6360ff134a11c80537d6015e
    (cherry picked from commit 3da2f21f)
    15bf1b52
    History
    Allow recovery to read thermal info
    Tianjie Xu authored
    We want to track temperature metrics during an OTA update.
    
    denial message:
    denied  { search } for  pid=349 comm="recovery" name="thermal"
    dev="sysfs" ino=18029 scontext=u:r:recovery:s0
    tcontext=u:object_r:sysfs_thermal:s0 tclass=dir permissive=0
    
    denied  { read } for  pid=326 comm="recovery" name="temp"
    dev="sysfs" ino=18479 scontext=u:r:recovery:s0
    tcontext=u:object_r:sysfs_thermal:s0 tclass=file permissive=0
    
    Bug: 36920500
    Bug: 32518487
    Test: temperature logs on angler
    Change-Id: Ib70c1c7b4e05f91a6360ff134a11c80537d6015e
    (cherry picked from commit 3da2f21f)
recovery.te 5.31 KiB