Skip to content
Snippets Groups Projects
  1. Sep 14, 2016
    • 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
    • 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
    • Narayan Kamath's avatar
      Allow the zygote to stat all files it opens. · 221938cb
      Narayan Kamath authored
      (cherry picked from commit 63203a01)
      
      bug: 30963384
      Change-Id: I62b5ffd43469dbb0bba67e1bb1d3416e7354f9e5
      221938cb
    • Amith Yamasani's avatar
      Allow apps to read preloaded photos · aa2a33a2
      Amith Yamasani authored
      (cherry picked from commit e01654f9)
      
      For Retail Demo mode, we need to preload photos in
      /data/preloads and allow regular apps to access the
      photos returned by the media provider from the preloads
      directory.
      
      Bug: 29940807
      Change-Id: Ic1061dac55ace1b125ae04b5b0c70aae9aa0c732
      aa2a33a2
    • Andreas Gampe's avatar
      Sepolicy: Adapt for new A/B OTA flow · 03daf853
      Andreas Gampe authored
      (cherry picked from commit d47c1e93)
      
      To include target slot names in the naming of A/B OTA artifacts,
      and new path has been implemented. Instead of passing through
      the system server and forking off of installd, otapreopt_chroot
      is now driven directly from the otapreopt script.
      
      Change the selinux policy accordingly: allow a transition from
      postinstall to otapreopt_chroot, and let otapreopt_chroot inherit
      the file descriptors that update_engine had opened (it will close
      them immediately, do not give rights to the downstream executables
      otapreopt and dex2oat).
      
      Bug: 25612095
      Bug: 28069686
      Change-Id: I6b476183572c85e75eda4d52f60e4eb5d8f48dbb
      03daf853
    • David Brazdil's avatar
      dumpstate: Change SELinux policy to allow reading /data/misc/profiles · aa6308fc
      David Brazdil authored
      (cherry picked from commit cf63957d)
      
      This is needed in order to include profile files in bugreports.
      
      Bug: 28610953
      Change-Id: I025189a4ac66b936711fdb4e20b10c2b0a7427d1
      aa6308fc
Loading