1. 05 Feb, 2016 1 commit
    • Jeff Sharkey's avatar
      Allow callers to prepare CE/DE user storage. · 47695b29
      Jeff Sharkey authored
      Give callers the option of preparing CE and/or DE storage.  The
      framework will only prepare CE storage after the CE keys have been
      unlocked for that user.
      
      When init is calling enablecrypto, kick off the work in a thread so
      that we can make other calls back into vold without causing
      deadlock.  Leaves blocking call intact for framework callers.
      
      Clean up 'vdc' tool to send useful transaction numbers, and
      actually watch for the matching result to come back.  This fixes
      race conditions when there are multiple 'vdc' callers.
      
      Also add other system and misc directories to match spec.
      
      Bug: 25796509
      Change-Id: Ie4f853db6e387916b845d2b5fb92925d743b063d
      47695b29
  2. 06 May, 2015 1 commit
  3. 06 Feb, 2015 1 commit
    • Henrik Baard's avatar
      Change strncpy to strlcpy · 2152266d
      Henrik Baard authored
      Change all function calls to strncpy to strlcpy.
      
      Change-Id: I2bbefb7829d715847c5b26f4b9f0faddbd4c89d0
      2152266d
  4. 05 Jun, 2014 1 commit
  5. 16 Apr, 2014 1 commit
  6. 14 Feb, 2014 1 commit
    • Paul Lawrence's avatar
      Enable auto-encrypt drive at startup · 13486033
      Paul Lawrence authored
      Modify enablecrypto command to make the password optional. When it is
      not there, default encrypt the device.
      
      Remove a warning by making at least some parts of this file const-correct.
      
      Bug: 11985952
      Change-Id: Ie27da4c4072386d9d6519d97ff46c6dc4ed188dc
      13486033
  7. 12 Feb, 2014 1 commit
    • Paul Lawrence's avatar
      Support default, pattern, pin and password encryption types · f4faa575
      Paul Lawrence authored
      Store encryption type in crypto footer, and provide functions to
      manipulate it. Add mount_default_encrypted command to vdc to allow
      mounting of default encrypted volumes at boot time.
      
      Bug: 8769627
      Change-Id: Ie41848f258e128b48b579e09789abfa24c95e2b2
      f4faa575
  8. 10 Feb, 2013 1 commit
    • Chih-Wei Huang's avatar
      Fix compiling warnings · 7929deb2
      Chih-Wei Huang authored
      The patch removes the following warnings:
      
      system/vold/vdc.c: In function 'do_cmd':
      system/vold/vdc.c:71:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      [...]
      
      In file included from system/vold/Fat.cpp:34:0:
      bionic/libc/kernel/common/linux/fs.h:109:0: warning: "MS_RMT_MASK" redefined [enabled by default]
      In file included from system/vold/Fat.cpp:31:0:
      bionic/libc/include/sys/mount.h:64:0: note: this is the location of the previous definition
      [...]
      
      Change-Id: I1e950dcec87f8bae0cec61a1611126b3abc0c90e
      7929deb2
  9. 10 Mar, 2012 1 commit
    • Ken Sumrall's avatar
      Fix vdc to add sequence number for NativeConectorDaemon · d4b3661c
      Ken Sumrall authored
      NativeConnectorDaemon was changed to use an optional sequence number,
      and most services were changed to require it.  Now that vold requires
      a sequence number, vdc must provide one.
      
      Change-Id: Ibdff9878faf19eae25525221c80bcb5e5f87cfea
      d4b3661c
  10. 27 Jun, 2011 1 commit
  11. 11 Oct, 2009 1 commit