1. 27 Feb, 2016 1 commit
  2. 16 Feb, 2016 1 commit
    • Jeff Sharkey's avatar
      Re-derive permissions after package changes. · e2965141
      Jeff Sharkey authored
      When packages change, existing package-specific directories may have
      gained/lost a UID mapping, so we need to update the permissions for
      any in-memory nodes.
      
      This allows an app to deliver data for another package before that
      package is installed, which is the typical pattern of how OBB files
      are delivered.
      
      Also fix bug by re-deriving permissions when files are moved.
      
      Bug: 25399427
      Change-Id: I06f38a24ad7dee5f5099ba81429aef03208e5683
      (cherry picked from commit f7aad11c)
      e2965141
  3. 17 Dec, 2015 1 commit
  4. 15 Dec, 2015 1 commit
  5. 11 Dec, 2015 1 commit
  6. 02 Dec, 2015 1 commit
  7. 04 Nov, 2015 1 commit
    • Mark Salyzyn's avatar
      logd: pruning time horizon · a6116961
      Mark Salyzyn authored
      Estimate a time horizon of ten fold for worst UID pruning
      
      Bug: 25453210
      Bug: 24782000
      Change-Id: I7118deb6d42531c68ed2ac2a59c57b0580b942cc
      a6116961
  8. 03 Nov, 2015 1 commit
    • Dan Willemsen's avatar
      Remove __DATE__/__TIME__ from init and debuggerd · eb88db4f
      Dan Willemsen authored
      Keeping these means that every build has different init and debuggerd
      binaries, even if the source was the same. So OTAs that don't touch
      these sources would still need to update the binaries.
      
      Both of these messages are only informational, so can be safely removed.
      Bootchart already encodes build-specific information from the system
      properties.
      
      Bug: 24204119
      Change-Id: I7ebd65a20a3e031e7528c9f741616e20b3cd7446
      (cherry picked from commit 30622bbb)
      eb88db4f
  9. 21 Oct, 2015 1 commit
  10. 15 Oct, 2015 1 commit
    • Tim Murray's avatar
      Reorder init.rc to avoid a kernel warning. · f429d378
      Tim Murray authored
      3.18 has a warning in dmesg that appears when the parent cpuset's cpus
      and mems are changed to something other than what the child has. Reorder
      init.rc to prevent this warning from appearing.
      
      bug 24941443
      
      Change-Id: I49d8394063b23dce03222dcc9ddccdc32bb97ea2
      f429d378
  11. 12 Oct, 2015 2 commits
  12. 22 Sep, 2015 1 commit
    • Sami Tolvanen's avatar
      fs_mgr: trigger dm-verity error handling for invalid signatures · 4ae302af
      Sami Tolvanen authored
      Currently, the device doesn't mount verified partitions if the
      verity table signature is invalid, which usually means it fails to
      boot. This change instead sets up dm-verity with an invalid root
      hash and triggers device-specific error handling to recover from
      the corruption.
      
      Bug: 24256506
      Change-Id: I6d693306fa0e7459c5500b028e433df61ecea6fb
      (cherry picked from commit 47caa5c386b436ba13de9f2ef356380f39afaf3f)
      4ae302af
  13. 21 Sep, 2015 1 commit
  14. 20 Sep, 2015 8 commits
  15. 19 Sep, 2015 1 commit
  16. 18 Sep, 2015 1 commit
    • Tim Murray's avatar
      add system-background cpuset · cba6ad74
      Tim Murray authored
      add a new cpuset for system services that should not run on
      larger cores
      
      bug 24144797
      
      Change-Id: I21a54f0d6b46b3b8bd8c4564b8685c88cfc4a57d
      cba6ad74
  17. 17 Sep, 2015 3 commits
  18. 14 Sep, 2015 1 commit
  19. 12 Sep, 2015 5 commits
  20. 11 Sep, 2015 2 commits
    • Mark Salyzyn's avatar
      logd: klogd and Mediatek · 805ef688
      Mark Salyzyn authored
      (cherry pick from commit 46d159d4)
      
      - sniff for PID in kernel log messages if available
      - properly deal with klogd watermark in face of modified output
      - deal more stringently with priority tag, must have [ following
      - suppress process-name stutter in tag that can happen
      - do not use : to demark tag if within [ ]
      
      Mediatek-special change that adds <printk_state>(<cpu>)[<pid>:<comm>]
      as a prefix to the printk messages. Along the lines of (simplified
      for entertainment purposes, YMMV):
      
          char tbuf[50]; /* printk prefix */
          int this_cpu = smp_processor_id();
          char state = __raw_get_cpu_var(printk_state);
          unsigned tlen = snprintf(tbuf, sizeof(tbuf), "%c(%x)[%d:%s]",
                     state, this_cpu, current->pid, current->comm);
      
      Bug: 23517551
      Change-Id: I568e25c5aa6d8474835454a0e83b19c2921b7985
      805ef688
    • Narayan Kamath's avatar
      am 6c53de92: Follow up to change b638126e DO NOT MERGE. · fef9dffd
      Narayan Kamath authored
      * commit '6c53de92':
        Follow up to change b638126e DO NOT MERGE.
      fef9dffd
  21. 10 Sep, 2015 3 commits
    • Narayan Kamath's avatar
      resolved conflicts for b638126e to klp-modular-dev · a82d6dc3
      Narayan Kamath authored
      Change-Id: If5062b01afa95279ab25fe86aaafa89d4d74eaa1
      a82d6dc3
    • Narayan Kamath's avatar
      Follow up to change b638126e DO NOT MERGE. · 6c53de92
      Narayan Kamath authored
      Resolves delta between the kitkat and L version of this patch.
      Fixes the molly build on klp-dev.
      
      bug: 22953624
      Change-Id: I696a506320f30d3d5cd95f6da35361244986cb36
      6c53de92
    • Mark Salyzyn's avatar
      logd: worst uid record watermark part five · 04827ab0
      Mark Salyzyn authored
      (cherry pick from commit 5bb2972d)
      
      A regression that resulted in increased memory consumption for some
      logging patterns because we rarely did merge or leading checks, and
      age-out checking. On the last prune cycle, we reset for a full scan.
      
      Add some comments describing the pruning processes.
      
      Bug: 23327476
      Bug: 23681639
      Bug: 23685592
      Change-Id: I22b0f339c9269b006831fda9cefe295a263ebb92
      04827ab0
  22. 09 Sep, 2015 2 commits
    • Paul Lawrence's avatar
      Don't show UI on default encryption · 751dfddc
      Paul Lawrence authored
      Bug: 22989588
      Change-Id: I8e7023767f1da80c872adc45871be1f8851926ad
      751dfddc
    • Narayan Kamath's avatar
      libutils: Fix integer overflows in VectorImpl. · 419e6c3c
      Narayan Kamath authored
      Use external/safe-iop to check for overflows on arithmetic
      operations.
      
      Also remove an unnecessary copy of Vector/SharedBuffer from
      codeflinger and use the copy from libutils instead.
      
      Note that some of the unit tests are somewhat useless due to
      test-runner limitations : gtest's ability to filter on abort message
      doesn't work when combined with messages formatted by android's logging
      system.
      
      bug: 22953624
      
      (cherry picked from commit c609c31f)
      
      Change-Id: I61644633db6b54fa230683615de9724f7fabf6fb
      419e6c3c