Skip to content
Snippets Groups Projects
  1. Oct 27, 2017
    • Calin Juravle's avatar
      Allow installd to read system_data_file:lnk_file · 97b08903
      Calin Juravle authored
      The permission was removed in
      https://android-review.googlesource.com/#/c/platform/system/sepolicy/+/433615/
      but is still needed in order to optimize application code.
      
      Denial example:
      
      10-26 16:29:51.234   894  1469 D PackageManager.DexOptimizer: Running
      dexopt on: /data/user/0/com.google.android.gms/snet/installed/snet.jar
      pkg=com.google.android.gms isa=[arm64]
      dexoptFlags=boot_complete,public,secondary,force,storage_ce
      target-filter=quicken
      
      10-26 16:29:51.253  2148  2148 W Binder:695_5: type=1400 audit(0.0:39):
      avc: denied { read } for name="0" dev="sda35" ino=917506
      scontext=u:r:installd:s0 tcontext=u:object_r:system_data_file:s0
      tclass=lnk_file permissive=0
      
      Test: adb shell cmd package reconcile-secondary-dex-files
      com.google.android.googlequicksearchbox
      adb shell cmd package compile -m speed --secondary-dex
      com.google.android.gms
      
      Change-Id: I694d1a780e58fa953d9ebda807f5f5293dbb0d56
      97b08903
  2. Oct 23, 2017
  3. Oct 20, 2017
  4. Oct 19, 2017
  5. Oct 18, 2017
  6. Oct 17, 2017
  7. Oct 16, 2017
    • Robert Quattlebaum's avatar
      wpantund: Allow wpantund to call callbacks · 0b2d26de
      Robert Quattlebaum authored
      This change allows wpantund to call any binder callbacks that have
      been registered with it. Generally, only privileged apps are allowed
      to register callbacks with wpantund, so we are limiting the scope for
      callbacks to only privileged apps. We also add shell to allow the
      command-line utility `lowpanctl` to work properly from `adb shell`.
      
      Bug: b/67393078
      Test: manual
      Change-Id: I64c52cc5e202725a81230dc67e1cd7c911cf8e1c
      (cherry picked from commit 17319cb3)
      0b2d26de
Loading