1. 14 Mar, 2010 3 commits
  2. 10 Mar, 2010 1 commit
  3. 09 Mar, 2010 1 commit
  4. 03 Mar, 2010 1 commit
    • San Mehat's avatar
      vold: Add a versioned superblock to secure containers. · fcf24fe6
      San Mehat authored
      
      Add an un-encrypted superblock to the end of a secure container to
      help identify the crypto cipher used. This is required in order to
      provide some semblence of versioning, in case we have cause to
      change the crypto type on an update - say for example switching
      from software to hardware encryption, or from 128 -> a zillion
      bit keys.
      
      NOTE: This format is incompatible with previous secure containers.
      After this change they will no longer be mountable.
      Signed-off-by: default avatarSan Mehat <san@google.com>
      fcf24fe6
  5. 02 Mar, 2010 2 commits
  6. 01 Mar, 2010 1 commit
  7. 24 Feb, 2010 5 commits
  8. 20 Feb, 2010 1 commit
    • San Mehat's avatar
      vold: Stage the mounting of media to hide the ASEC imagefile directory · 3bb6020e
      San Mehat authored
      
        In order to protect the '/android_secure' directory on VFAT removable media
      from being mucked with by 3rd party applications on the device, we hide the
      directory with a read-only, zero-sized tmpfs mounted on-top. A reference to the
      hidden directory is kept by a bind-mount which is mounted at a location which
      only root can access.
      
      Staging consists of:
        1. Mount checked media at a secure location (/mnt/secure/staging)
        2. Ensure /android_secure exists on the media, (creating if it doesnt)
        3. Bind-mount /mnt/secure/staging/android_secure -> /mnt/secure/asec
           (where only root can access it)
        4. Mount an RDONLY zero-sized tmpfs over /mnt/secure/staging/android_secure
        5. Atomically move /mnt/secure/staging to the publicly accessable storage
           directory (/mnt/sdcard)
      Signed-off-by: default avatarSan Mehat <san@google.com>
      3bb6020e
  9. 18 Feb, 2010 4 commits
  10. 17 Feb, 2010 1 commit
  11. 14 Feb, 2010 1 commit
  12. 11 Feb, 2010 2 commits
  13. 08 Feb, 2010 1 commit
  14. 06 Feb, 2010 1 commit
  15. 04 Feb, 2010 1 commit
    • San Mehat's avatar
      vold: Fix a few bugs · b9aed74b
      San Mehat authored
      
       - share command was taking wrong arguments
       - shared command was returning two termination codes
       - Force FAT32 cluster size to 4k when formatting
      Signed-off-by: default avatarSan Mehat <san@google.com>
      b9aed74b
  16. 03 Feb, 2010 3 commits
  17. 02 Feb, 2010 1 commit
  18. 23 Jan, 2010 2 commits
  19. 22 Jan, 2010 1 commit
  20. 18 Jan, 2010 1 commit
  21. 15 Jan, 2010 1 commit
  22. 12 Jan, 2010 1 commit
  23. 11 Jan, 2010 4 commits