1. 26 Apr, 2011 1 commit
  2. 15 Apr, 2010 1 commit
  3. 25 Mar, 2010 2 commits
  4. 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
  5. 23 Mar, 2010 1 commit
  6. 17 Mar, 2010 1 commit
  7. 15 Mar, 2010 2 commits
  8. 14 Mar, 2010 3 commits
  9. 10 Mar, 2010 1 commit
  10. 09 Mar, 2010 1 commit
  11. 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
  12. 02 Mar, 2010 2 commits
  13. 01 Mar, 2010 1 commit
  14. 24 Feb, 2010 5 commits
  15. 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
  16. 18 Feb, 2010 4 commits
  17. 17 Feb, 2010 1 commit
  18. 14 Feb, 2010 1 commit
  19. 11 Feb, 2010 2 commits
  20. 08 Feb, 2010 1 commit
  21. 06 Feb, 2010 1 commit
  22. 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
  23. 03 Feb, 2010 3 commits
  24. 02 Feb, 2010 1 commit
  25. 23 Jan, 2010 1 commit