Skip to content
Snippets Groups Projects
  1. Sep 14, 2016
    • Treehugger Robot's avatar
    • Tianjie Xu's avatar
      Add sepolicy for update_verifier · 59379d8b
      Tianjie Xu authored
      (cherry picked from commit 5d8d2dc9)
      
      Grant update_verifier the permissions to read /data/ota_package/
      and the blocks on system partition.
      
      The denial messages:
      update_verifier: type=1400 audit(0.0:29): avc: denied { read }
      scontext=u:r:update_verifier:s0 tcontext=u:object_r:ota_package_file:s0 tclass=file permissive=1
      
      update_verifier: type=1400 audit(0.0:30): avc: denied { open }
      scontext=u:r:update_verifier:s0 tcontext=u:object_r:ota_package_file:s0 tclass=file permissive=1
      
      update_verifier: type=1400 audit(0.0:31): avc: denied { read } dev="tmpfs"
      scontext=u:r:update_verifier:s0 tcontext=u:object_r:system_block_device:s0 tclass=blk_file permissive=1
      
      update_verifier: type=1400 audit(0.0:32): avc: denied { open } dev="tmpfs"
      scontext=u:r:update_verifier:s0 tcontext=u:object_r:system_block_device:s0 tclass=blk_file permissive=1
      
      Test: On device, update_verifier reads the blocks successfully during boot time.
      Bug: 30020920
      
      Change-Id: I10777c1e6ba649b82c4a73171124742edeb05997
      59379d8b
    • Tao Bao's avatar
      update_verifier: Allow searching /dev/block. · 1e17dafc
      Tao Bao authored
      update_verifier calls bootcontrol HAL to mark the currently booting slot
      as successfully booted.
      
      avc: denied { search } for name="block" dev="tmpfs" scontext=u:r:update_verifier:s0 tcontext=u:object_r:block_device:s0 tclass=dir permissive=0
      avc: denied { search } for name="block" dev="tmpfs" scontext=u:r:update_verifier:s0 tcontext=u:object_r:block_device:s0 tclass=dir permissive=0
      
      Bug: 29569601
      Test: Device boots up with no update_verifier denials and 'bootctl is-slot-marked-successful 0' returns 0.
      Change-Id: I1baa7819bc829e3c4b83d7168008a5b06b01cc9f
      1e17dafc
    • Treehugger Robot's avatar
    • Treehugger Robot's avatar
    • Takahiro Aizawa's avatar
      selinux: Update policies for mediadrmserver · ec750854
      Takahiro Aizawa authored
      (cherry picked from commit 23a276a2)
      
      DRM 3rd party application with platform signature
      requires the permission.
      
      Bug: 30352348
      Change-Id: Idd673506764ae435db1be8cc8c13658541ffa687
      ec750854
    • Hugo Benichi's avatar
      New service name for IpConnectivity metrics · c1c82606
      Hugo Benichi authored
      (cherry picked from commit f412cc62)
      
      Bug: 31254800
      Change-Id: If8708c8a4e0ea7655f31028881248a14cf2ba5f7
      c1c82606
    • Wei Wang's avatar
      allow system_server to set bootanim scheduling priority · 88323b2e
      Wei Wang authored
      (cherry picked from commit 1617c0ce)
      
      Addresses the following denial:
           avc: denied { setsched } for pid=1405 comm="Binder:1094_3" scontext=u:r:system_server:s0 tcontext=u:r:bootanim:s0 tclass=process permissive=0
      
      Maybe fix bug 30118894.
      
      Bug: 30118894
      Change-Id: I29be26c68094c253778edc8e4fef2ef1a238ee2e
      88323b2e
    • Martijn Coenen's avatar
      Allow the NFC process to access hwservicemanager. · 50ab0b1a
      Martijn Coenen authored
      Add a macro to make this easier for other processes
      as well.
      
      Change-Id: I489d0ce042fe5ef88dc767a6fbdb9b795be91601
      (cherry picked from commit c2b9c1561e4bd7ac86d78b44ca7927994e781da0)
      50ab0b1a
    • Martijn Coenen's avatar
      Initial hardware servicemanager sepolicy. · 6b952393
      Martijn Coenen authored
      Change-Id: I07d188e4dd8801a539db1e9f3edf82a1d662648e
      (cherry picked from commit 61a082a55dbc2798d50d0d4b766151d69334729a)
      6b952393
    • Treehugger Robot's avatar
  2. Sep 13, 2016
  3. Sep 12, 2016
Loading