Skip to content
Snippets Groups Projects
  • Hridya Valsaraju's avatar
    953c4396
    add selinux policy for GNSS hal · 953c4396
    Hridya Valsaraju authored
    The following are the avc denials that are addressed:
    
    avc: denied { call } for pid=889 comm="system_server"
    scontext=u:r:system_server:s0 tcontext=u:r:hal_gnss_default:s0
    tclass=binder permissive=0
    
    avc: denied { call } for scontext=u:r:hal_gnss_default:s0
    tcontext=u:r:system_server:s0 tclass=binder permissive=0
    
    avc: denied { read } for name="hw" dev="mmcblk0p43" ino=1837
    scontext=u:r:hal_gnss_default:s0 tcontext=u:object_r:system_file:s0
    tclass=dir permissive=0
    
    avc: denied { open } for path="/system/lib64/hw" dev="mmcblk0p43"
    ino=1837 scontext=u:r:hal_gnss_default:s0
    tcontext=u:object_r:system_file:s0 tclass=dir permissive=0
    
    Bug:31974439
    
    Test: Checked that there no more related avc denial messages related to
    the GNSS HAL in dmesg.
    
    Change-Id: I5b43dc088017a5568dd8e442726d2bf52e95b1d5
    953c4396
    History
    add selinux policy for GNSS hal
    Hridya Valsaraju authored
    The following are the avc denials that are addressed:
    
    avc: denied { call } for pid=889 comm="system_server"
    scontext=u:r:system_server:s0 tcontext=u:r:hal_gnss_default:s0
    tclass=binder permissive=0
    
    avc: denied { call } for scontext=u:r:hal_gnss_default:s0
    tcontext=u:r:system_server:s0 tclass=binder permissive=0
    
    avc: denied { read } for name="hw" dev="mmcblk0p43" ino=1837
    scontext=u:r:hal_gnss_default:s0 tcontext=u:object_r:system_file:s0
    tclass=dir permissive=0
    
    avc: denied { open } for path="/system/lib64/hw" dev="mmcblk0p43"
    ino=1837 scontext=u:r:hal_gnss_default:s0
    tcontext=u:object_r:system_file:s0 tclass=dir permissive=0
    
    Bug:31974439
    
    Test: Checked that there no more related avc denial messages related to
    the GNSS HAL in dmesg.
    
    Change-Id: I5b43dc088017a5568dd8e442726d2bf52e95b1d5