1. 15 Apr, 2015 6 commits
  2. 14 Apr, 2015 1 commit
  3. 10 Apr, 2015 3 commits
    • Jeff Sharkey's avatar
      dfc30ae3
    • Jeff Sharkey's avatar
      Command to move private app data between volumes. · e3637242
      Jeff Sharkey authored
      New "mvuserdata" command will move all private app data from one
      volume UUID to another.  It leverages the existing "cp" toybox
      command to do the heavy lifting for all known users, preserving
      details like timestamps and permissions.  It invokes restorecon()
      to correctly label the new location when the copy is finished.
      
      Changes installd to no longer drop capabilities, so we run as root
      again.  This also allows us to exec "cp" with CAP_DAC_OVERRIDE and
      CAP_FOWNER still in effect.
      
      Bug: 19993667
      Change-Id: I1f407a7c4a1af97ca5afc27b04eb16b4936cbdef
      e3637242
    • ywen's avatar
      Fix a memory corruption issue when vector resize · aef0445c
      ywen authored
      There is memory corruption in below code
      
      const Rect* prev = &dst[prevIndex];
      dst.add(Rect(prev->right, top, right, bottom));
      
      prev points to a memory of vector dst, when dst resize in add()
      call, the memory that prev points to will be copy to the new
      allocated vector memory and the old memory will become undefined
      
      Avoid pointer in this case, use a local copy instead
      
      Change-Id: I4d95ceedd00c8fb615ac153082ade1b1ce0d0fa8
      aef0445c
  4. 09 Apr, 2015 8 commits
  5. 08 Apr, 2015 3 commits
    • Mark Salyzyn's avatar
      Merge "dumpstate: scrub APANIC" · ad436ab5
      Mark Salyzyn authored
      ad436ab5
    • Mark Salyzyn's avatar
      dumpstate: scrub APANIC · f423b57d
      Mark Salyzyn authored
      Bug: 19525200
      Change-Id: Ia2d2857cac953fb4ceafb66ddf775d89d7a777b1
      f423b57d
    • Jeff Sharkey's avatar
      Plumb through volume UUID when building paths. · c03de091
      Jeff Sharkey authored
      Since app data paths can live on expanded storage devices, accept the
      target volume UUID when building paths.  The null UUID indicates the
      default internal storage.
      
      To improve readability, start using std::string in several places,
      which throws when allocations fail.  For now, perform last-second
      sanity checks on incoming path arguments, but we'll eventually want
      to check arguments as they come through installd.cpp, instead of
      crashing the entire daemon.
      
      Also remove "lib" symlink code from install() and make_user_data(),
      since we're no longer supporting /data/app-lib.  The framework
      already uses linklib() to create the right symlink for the selected
      ISA-specific library dir.
      
      Bug: 19993667
      Change-Id: Ib9343575ffb62bf3981e19375de8f3822fc31e28
      c03de091
  6. 07 Apr, 2015 9 commits
  7. 06 Apr, 2015 1 commit
  8. 04 Apr, 2015 3 commits
  9. 03 Apr, 2015 3 commits
  10. 02 Apr, 2015 2 commits
  11. 01 Apr, 2015 1 commit