1. 16 Nov, 2013 3 commits
  2. 09 Oct, 2013 1 commit
  3. 08 Oct, 2013 2 commits
  4. 22 Sep, 2013 1 commit
  5. 20 Sep, 2013 1 commit
    • Jeff Sharkey's avatar
      Add mkdirs() command. · 71ebe154
      Jeff Sharkey authored
      Apps without sdcard_r or sdcard_rw need to have someone create
      package-specific directories on their behalf.  If apps have trouble
      creating on their own, they now delegate through system to have
      vold create the paths.
      
      Requires that the requested path is actually managed by vold.
      
      Bug: 10577808
      Change-Id: I6835fc8f52240f9de07f89742a426a153e3ca32a
      71ebe154
  6. 23 Aug, 2013 1 commit
    • Ken Sumrall's avatar
      Use android_fork_execvp() instead of system(3) to format filesystems · b9a71792
      Ken Sumrall authored
      With the recent selinux changes imposed on vold, it no longer has
      permission to run a shell, so invoking the filesystem formatting
      commands with system(3) gives an error.  So change to using
      android_fork_execvp().
      
      Bug: 10279958
      
      Change-Id: Ifa18b28867618858ec7c5cfcc67935e377de38fb
      b9a71792
  7. 21 Aug, 2013 1 commit
    • Ken Sumrall's avatar
      Use android_fork_execvp() instead of system(3) to format filesystems · e550f78a
      Ken Sumrall authored
      With the recent selinux changes imposed on vold, it no longer has
      permission to run a shell, so invoking the filesystem formatting
      commands with system(3) gives an error.  So change to using
      android_fork_execvp().
      
      Bug: 10279958
      
      Change-Id: Ifa18b28867618858ec7c5cfcc67935e377de38fb
      e550f78a
  8. 15 Aug, 2013 2 commits
  9. 14 Aug, 2013 1 commit
    • Kenny Root's avatar
      Initialize iterator · 2947e34e
      Kenny Root authored
      Iterator wasn't initialized in scrypt parameter scanning.
      
      Bug: 10330227
      Change-Id: If41fc25d9f827106fa8329bdb5966b7d786fddcb
      2947e34e
  10. 07 Aug, 2013 1 commit
  11. 02 Jul, 2013 7 commits
  12. 29 Jun, 2013 1 commit
  13. 28 Jun, 2013 1 commit
  14. 27 Jun, 2013 1 commit
  15. 24 Jun, 2013 1 commit
    • Kenny Root's avatar
      Change key derivation to scrypt · c4c70f15
      Kenny Root authored
      scrypt is a sequential memory-hard key derivation algorithm that makes
      it more difficult for adversaries to brute force passwords using
      specialized equipment. See http://www.tarsnap.com/scrypt/scrypt.pdf for
      more details of the algorithm.
      
      This adds support for initializing disk encryption using scrypt and
      upgrading from the previous PBKDF2 algorithm.
      
      Change-Id: I1d26db4eb9d27fea7310be3e49c8e6219e6d2c3b
      c4c70f15
  16. 14 Jun, 2013 2 commits
    • Kenny Root's avatar
      Extract some version constants to header · c96a5f8e
      Kenny Root authored
      In order to make it easier to upgrade the crypto footer, extract some
      constants to a header file instead. Then the header can control what the
      current version is and the upgrade_crypto_ftr code should be the only
      thing that needs to be updated.
      
      Change-Id: I3ed5a7d3b640419cd8af91388d94a00de8cc09db
      c96a5f8e
    • Kenny Root's avatar
      Change upgrade code to allow multiple versions · 7434b311
      Kenny Root authored
      In the future, we'd like to have the ability to upgrade from any
      supported version to any future version. Change the upgrade function
      slightly to support this.
      
      Change-Id: I3b20ccfff51c4c86f1e5e08690c263dc95ff5ce4
      7434b311
  17. 13 Jun, 2013 1 commit
    • Ken Sumrall's avatar
      vold: Add an optional wipe paramter to the volume format command · 9caab76c
      Ken Sumrall authored
      The new wipe option to the vold format command will invoke BLKDISCARD
      on the partition before invoking newfs_msdos.  This will be used whenever
      a full wipe of the device is wanted, as this is more secure than just
      doing newfs_msdos.
      
      Bug: 9392982
      Change-Id: Ie106f1b9cc70abc61206006d1821641c27c7ccae
      9caab76c
  18. 16 May, 2013 2 commits
  19. 15 May, 2013 2 commits
  20. 14 May, 2013 1 commit
    • Ken Sumrall's avatar
      vold: Increase timeout due to selinux changes · c587269c
      Ken Sumrall authored
      The new selinux_reload_policy command can take a while to complete on
      some systems.  The reason is being investigated, and hopefully a fix can
      be found to improve performance, but for now, increase the timeout that
      vold waits for the post_fs_data section to complete when decrypting a
      device on boot.
      
      Also, emit a decent error message if the device times out.
      
      Bug: 8967715
      Change-Id: Ifb01c983dffe095a9de752c17c467a1751e9ce99
      c587269c
  21. 10 May, 2013 1 commit
  22. 08 May, 2013 3 commits
  23. 02 May, 2013 3 commits
    • Ken Sumrall's avatar
      Grab a partial wakelock when doing fstrim · 8cca752b
      Ken Sumrall authored
      Fstrim can take a while, so grab a wakelock so it finishes now,
      not when the user picks up the device and wakes it back up.
      
      This change does not protect against multiple calls to fstrim
      before the first one completes.  When the first one completes, it
      will release the wakelock, and the device will go to sleep.
      However, normal usage is this will not be invoked by the framework
      more than once a day, so this should not be an issue.
      
      Bug: 8781133
      
      Change-Id: I8065d1380eaf52ca8a7ca308af66fb6e86d60a66
      8cca752b
    • Ken Sumrall's avatar
      am e78cd4f3: Grab a partial wakelock when doing fstrim · 924d9def
      Ken Sumrall authored
      * commit 'e78cd4f3':
        Grab a partial wakelock when doing fstrim
      924d9def
    • Ken Sumrall's avatar
      Grab a partial wakelock when doing fstrim · e78cd4f3
      Ken Sumrall authored
      Fstrim can take a while, so grab a wakelock so it finishes now,
      not when the user picks up the device and wakes it back up.
      
      This change does not protect against multiple calls to fstrim
      before the first one completes.  When the first one completes, it
      will release the wakelock, and the device will go to sleep.
      However, normal usage is this will not be invoked by the framework
      more than once a day, so this should not be an issue.
      
      Bug: 8781133
      
      Change-Id: I8065d1380eaf52ca8a7ca308af66fb6e86d60a66
      e78cd4f3