Skip to content
Snippets Groups Projects
  • Tianjie Xu's avatar
    3da2f21f
    Allow recovery to read thermal info · 3da2f21f
    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
    3da2f21f
    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
recovery.te 5.23 KiB