1. 07 Jul, 2010 1 commit
    • Kenny Root's avatar
      Add image mounting commands for OBB files · fb7c4d5a
      Kenny Root authored
      Allow the mounting of OBB filesystem images if they're encrypted with
      twofish and in FAT filesystem format.
      
      Change-Id: I54804e598f46b1f3a784ffe517ebd9d7626de7aa
      fb7c4d5a
  2. 28 Jun, 2010 1 commit
  3. 21 Jun, 2010 1 commit
  4. 14 May, 2010 1 commit
  5. 15 Apr, 2010 1 commit
  6. 25 Mar, 2010 2 commits
  7. 24 Mar, 2010 1 commit
    • Kenny Root's avatar
      Prevent null pointer deref in DirectVolume · a9f423dd
      Kenny Root authored
      There's a possibility that if something were messed up a call to
      NetlinkEvent::findParam could return a NULL. Passing NULL as the
      argument into atoi() would cause a null pointer dereference.
      
      Change-Id: Ib071afbbe2adc341108c245ffa596cc8730bd8fd
      a9f423dd
  8. 23 Mar, 2010 1 commit
  9. 17 Mar, 2010 1 commit
  10. 15 Mar, 2010 2 commits
  11. 14 Mar, 2010 3 commits
  12. 10 Mar, 2010 1 commit
  13. 09 Mar, 2010 1 commit
  14. 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
  15. 02 Mar, 2010 2 commits
  16. 01 Mar, 2010 1 commit
  17. 24 Feb, 2010 5 commits
  18. 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
  19. 18 Feb, 2010 4 commits
  20. 17 Feb, 2010 1 commit
  21. 14 Feb, 2010 1 commit
  22. 11 Feb, 2010 2 commits
  23. 08 Feb, 2010 1 commit
  24. 06 Feb, 2010 1 commit
  25. 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
  26. 03 Feb, 2010 2 commits