OSDN Git Service
Nick Kralevich [Mon, 18 Apr 2011 23:31:25 +0000 (16:31 -0700)]
am
c51920c8: vold: Enable the SO_PASSCRED socket option
* commit '
c51920c82463b240e2be0430849837d6fdc5352e':
vold: Enable the SO_PASSCRED socket option
Nick Kralevich [Mon, 18 Apr 2011 22:51:19 +0000 (15:51 -0700)]
vold: Enable the SO_PASSCRED socket option
Ensure that sender credentials are available when we
receive a netlink message.
Change-Id: I48411205a8fbc1ebd29834f64028662d80f15995
Nick Kralevich [Mon, 18 Apr 2011 18:44:57 +0000 (11:44 -0700)]
am
f3d3ce5e: add bounds checking for mPartMinors[]
* commit '
f3d3ce5e53ab7928f4c292c183c417a1bd051151':
add bounds checking for mPartMinors[]
Nick Kralevich [Mon, 18 Apr 2011 18:16:13 +0000 (11:16 -0700)]
add bounds checking for mPartMinors[]
Change-Id: I6d5b26756c8434d6396f3535252608ce61eabfd8
Jean-Baptiste Queru [Sat, 20 Nov 2010 01:24:49 +0000 (17:24 -0800)]
am
08da5c1f: Merge "vold: replace strsep by strtok_r"
* commit '
08da5c1f17afefe3c9f4f4d4456c5757dede62e1':
vold: replace strsep by strtok_r
Jean-Baptiste Queru [Sat, 20 Nov 2010 01:20:39 +0000 (17:20 -0800)]
Merge "vold: replace strsep by strtok_r"
Jinho You [Mon, 15 Nov 2010 06:02:32 +0000 (14:02 +0800)]
vold: replace strsep by strtok_r
It permits more white spaces between words in vold.fstab.
Change-Id: I38250c3dcc860643e4f102e980fe844693a1451a
Jean-Baptiste Queru [Fri, 19 Nov 2010 18:20:37 +0000 (10:20 -0800)]
resolved conflicts for merge of
09f774b7 to gingerbread-plus-aosp
Change-Id: I103db47198ad09783aa6539cde271df0fdb9c594
Jean-Baptiste Queru [Thu, 18 Nov 2010 02:24:33 +0000 (18:24 -0800)]
Merge changes Ic8e18e61,I62c78eb8
* changes:
vold: fix an offset one bug that makes partition 4 unusable
vold: set state back to idle on formatting error
Chih-Wei Huang [Wed, 17 Nov 2010 10:53:09 +0000 (18:53 +0800)]
vold: fix an offset one bug that makes partition 4 unusable
Change-Id: Ic8e18e6191ad7ee33162e36060b57a6802cf0883
Chih-Wei Huang [Tue, 16 Nov 2010 05:18:19 +0000 (13:18 +0800)]
vold: set state back to idle on formatting error
On formatting error due to some reasons, the state is left at
Formatting, therefore the user is unable to mount the sdcard
again. The patch sets the state to Idle no matter formatting
error or not.
Change-Id: I62c78eb8299cc397ee5cc442890f8b3dbf09425c
Mike Lockwood [Fri, 29 Oct 2010 15:16:15 +0000 (08:16 -0700)]
am
a28056b3: Set VM dirty ratio to zero when UMS is active
* commit '
a28056b38275003895ff5d9576681aca01544822':
Set VM dirty ratio to zero when UMS is active
Mike Lockwood [Thu, 28 Oct 2010 19:21:24 +0000 (15:21 -0400)]
Set VM dirty ratio to zero when UMS is active
Improves UI responsiveness when copying large amount of data to the device.
BUG:
3131847
Change-Id: I4aa5ade7e2cd7e5110c8f0f7ee43bdc57577e11d
Signed-off-by: Mike Lockwood <lockwood@google.com>
Kenny Root [Fri, 1 Oct 2010 01:05:58 +0000 (18:05 -0700)]
am
918e5f9f: Better error code for unmounting not-mounted volumes
Merge commit '
918e5f9f10b9c1ff929683743ffbf229027ce240' into gingerbread-plus-aosp
* commit '
918e5f9f10b9c1ff929683743ffbf229027ce240':
Better error code for unmounting not-mounted volumes
Kenny Root [Fri, 1 Oct 2010 01:00:52 +0000 (18:00 -0700)]
Better error code for unmounting not-mounted volumes
ENOENT is more descriptive than the generic error that EINVAL gets
turned into. Then we can actually treat it how we want on the other
side.
Change-Id: I9b4f3be6308e13f680eae368d2167ab9ee6aae5f
Kenny Root [Sun, 26 Sep 2010 18:17:39 +0000 (11:17 -0700)]
am
cbacf78e: Track type of container mounted
Merge commit '
cbacf78eff70bd43bb899e164ec2ab409bc0904c' into gingerbread-plus-aosp
* commit '
cbacf78eff70bd43bb899e164ec2ab409bc0904c':
Track type of container mounted
Kenny Root [Fri, 24 Sep 2010 22:11:48 +0000 (15:11 -0700)]
Track type of container mounted
OBB and ASEC are tracked in the same active container list, but when it
comes time to unmount everything, it was trying to unmount the OBBs
according to ASEC rules. This led to the OBB not being unmounted and the
volume unmount failing.
Change-Id: I12c1d4d387b8022185d552b63edd61a50b9c0fc3
Mike Lockwood [Tue, 21 Sep 2010 18:09:58 +0000 (11:09 -0700)]
am
a4886f1f: More fixes for internal FAT partitions:
Merge commit '
a4886f1f8ed72e24a302a91a0ab18bc54b6f585e' into gingerbread-plus-aosp
* commit '
a4886f1f8ed72e24a302a91a0ab18bc54b6f585e':
More fixes for internal FAT partitions:
Mike Lockwood [Tue, 21 Sep 2010 17:56:35 +0000 (13:56 -0400)]
More fixes for internal FAT partitions:
Fix formatting partitions beyond the first partition.
Do not try to initialize the MBR when formatting only a single partition.
Change-Id: Ifbbd279b1c288b7b1b884a1a89248e3086ed735f
Signed-off-by: Mike Lockwood <lockwood@android.com>
Brad Fitzpatrick [Mon, 20 Sep 2010 18:45:40 +0000 (11:45 -0700)]
am
1b15d463: Add some missing closes on error conditions.
Merge commit '
1b15d463d4816fc084767cbeda3ee69ff5527545' into gingerbread-plus-aosp
* commit '
1b15d463d4816fc084767cbeda3ee69ff5527545':
Add some missing closes on error conditions.
Brad Fitzpatrick [Mon, 20 Sep 2010 18:11:46 +0000 (11:11 -0700)]
Add some missing closes on error conditions.
Also, some formatting fixes to get back into line with netd's copy of
logwrapper.c.
Change-Id: Id471b99e9c3c8c9bb0890ca0d5e1567125e35bd7
Mike Lockwood [Fri, 17 Sep 2010 22:58:04 +0000 (15:58 -0700)]
am
2dfe297e: Fixes for devices with internal FAT file system:
Merge commit '
2dfe297ec47559dbe2297a72bea71cf515c03797' into gingerbread-plus-aosp
* commit '
2dfe297ec47559dbe2297a72bea71cf515c03797':
Fixes for devices with internal FAT file system:
Mike Lockwood [Fri, 17 Sep 2010 22:50:51 +0000 (18:50 -0400)]
Fixes for devices with internal FAT file system:
Only share a single partition via UMS if a specific partition
is specified in vold.fstab (rather than "auto")
Do not fail to reformat if MBR cannot be found.
Change-Id: I544ca2ee325c308af656ab9f4732c788a964c156
Signed-off-by: Mike Lockwood <lockwood@android.com>
Kenny Root [Thu, 2 Sep 2010 20:25:27 +0000 (13:25 -0700)]
am
a3e06084: Allow execute on mounted ASEC and OBB containers
Merge commit '
a3e06084564c86ff618c40f185f3676b8b629b94' into gingerbread-plus-aosp
* commit '
a3e06084564c86ff618c40f185f3676b8b629b94':
Allow execute on mounted ASEC and OBB containers
Kenny Root [Fri, 27 Aug 2010 15:31:35 +0000 (08:31 -0700)]
Allow execute on mounted ASEC and OBB containers
This allows us to place shared libraries in these containers which may
only be loaded if they are executable.
Change-Id: I78fa9ab6d5c58ec8b98c40004da72aebc0aade2a
Ethan [Mon, 30 Aug 2010 20:20:44 +0000 (13:20 -0700)]
am
75a3e1a9: VOLD - make volume daemon to handle state change from shared to no_media
Merge commit '
75a3e1a95af0a2790de1b12aeca0008bfdc61649' into gingerbread-plus-aosp
* commit '
75a3e1a95af0a2790de1b12aeca0008bfdc61649':
VOLD - make volume daemon to handle state change from shared to no_media
Ethan [Wed, 21 Jul 2010 15:07:51 +0000 (23:07 +0800)]
VOLD - make volume daemon to handle state change from shared to no_media
When volume state changed from shared to no_media,
volume is not properly unshared.
Change-Id: I0117d67da95440d982275746a166ef6f4ac1c0e2
Signed-off-by: Ethan <ethan.too@gmail.com>
Jean-Baptiste Queru [Thu, 29 Jul 2010 18:31:13 +0000 (11:31 -0700)]
am
826bec79: Merge "vold: remove unnecessary code from VolumeManager::unshareVolume()"
Merge commit '
826bec79ea253505813d125700a12816e2c3bc0f' into gingerbread-plus-aosp
* commit '
826bec79ea253505813d125700a12816e2c3bc0f':
vold: remove unnecessary code from VolumeManager::unshareVolume()
Jean-Baptiste Queru [Thu, 29 Jul 2010 18:21:44 +0000 (11:21 -0700)]
Merge "vold: remove unnecessary code from VolumeManager::unshareVolume()"
Bruce Beare [Thu, 29 Jul 2010 18:19:15 +0000 (11:19 -0700)]
am
d766090b: Avoid array overrun. We can now mount the /sdcard partition on our boot sdcards
Merge commit '
d766090b7a72562be9e64700e13882663004650e' into gingerbread-plus-aosp
* commit '
d766090b7a72562be9e64700e13882663004650e':
Avoid array overrun. We can now mount the /sdcard partition on our boot sdcards
Seth Forshee [Sat, 10 Jul 2010 04:37:26 +0000 (23:37 -0500)]
vold: remove unnecessary code from VolumeManager::unshareVolume()
Signed-off-by: Seth Forshee <seth.forshee@garmin.com>
Bruce Beare [Thu, 22 Jul 2010 20:23:33 +0000 (13:23 -0700)]
Avoid array overrun. We can now mount the /sdcard partition on our boot sdcards
Change-Id: I6e9db8c55db49b4aa61dd40cd59495f55e5b3368
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
Kenny Root [Fri, 16 Jul 2010 22:04:55 +0000 (15:04 -0700)]
Fix loop_info/loop_info64 impedance mismatch
LOOP_GET_STATUS64 isn't useful here since the data contained within
isn't actually checked, so stick with the regular LOOP_GET_STATUS here
to match the struct loop_info we're using.
Change-Id: I4f9ff06fa44d4ae3aed046d423054554f9cf450b
Kenny Root [Mon, 12 Jul 2010 16:59:49 +0000 (09:59 -0700)]
Additional Obb functionality
* Rename all functions dealing with OBB files to mention Obb
* Add 'path' and 'list' functionality to OBB commands
* Store hashed filename in loop's lo_crypt_name and keep lo_file_name
for the real source filename. That way we can recover it later with an
ioctl call.
Change-Id: I29e468265988bfb931d981532d86d7be7b3adfc8
Kenny Root [Thu, 1 Jul 2010 01:48:41 +0000 (18:48 -0700)]
Add image mounting commands for OBB files
Allow the mounting of OBB filesystem images if they're encrypted with
twofish and in FAT filesystem format.
Change-Id: I54804e598f46b1f3a784ffe517ebd9d7626de7aa
Mike Lockwood [Sat, 26 Jun 2010 03:04:04 +0000 (23:04 -0400)]
Use new kernel notifications to determine if USB mass storage is available.
The usb_mass_storage switch no longer exists in our 2.6.35 kernel.
Instead we will consider mass storage to be available if both USB is connected
and the USB mass storage function is enable.
Change-Id: I730d1b3cb3cac664fc2abcdc36cd39856a08404a
Signed-off-by: Mike Lockwood <lockwood@android.com>
Kenny Root [Sat, 19 Jun 2010 02:06:50 +0000 (19:06 -0700)]
Change ASCII conversion for hash and add tests
Hash was printed using snprintf(), but we can just write yet another hex
conversion utility!
Change-Id: I04f1992deaf5bf1b3e2751c8f07072f8ed6660e9
Nick Kralevich [Fri, 14 May 2010 17:37:37 +0000 (10:37 -0700)]
Get rid of warnings when compiled with -Wformat-security
Change-Id: I27e0819aba347e26051ad771c594b69700da1721
San Mehat [Thu, 15 Apr 2010 19:58:50 +0000 (12:58 -0700)]
vold: Ensure we cleanup secure containers on card removal.
Fixes bug: http://b/issue?id=
2567572
Note: The framework will still likely restart since the system_server
is holding references to assets on the card which are mmaped, but
at least now storage will be available when a new card is re-inserted.
Change-Id: I4e195c0c666426b93da47198fa826a6f58d855a9
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 24 Mar 2010 17:24:19 +0000 (10:24 -0700)]
vold: Switch from LOG -> SLOG
Change-Id: I48ee8bd90b47f5845f069cdf4d1b8ba6ecdb1b39
Signed-off-by: San Mehat <san@google.com>
Kenny Root [Thu, 25 Mar 2010 03:18:00 +0000 (20:18 -0700)]
Revert "Prevent null pointer deref in DirectVolume"
This reverts commit
a9f423dd7e313854ce7c103e1bb4661b05efc9a4.
Kenny Root [Wed, 24 Mar 2010 22:37:48 +0000 (15:37 -0700)]
Prevent null pointer deref in DirectVolume
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
San Mehat [Tue, 23 Mar 2010 18:15:58 +0000 (11:15 -0700)]
vold: asec path cmd now returns OpFailedStorageNotFound if id doesn't exist
Change-Id: Icbe3de7c28505f7496c8f8edea126c7b616de475
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 17 Mar 2010 16:50:54 +0000 (09:50 -0700)]
vold: Add mounted filesystems to dump cmd
Change-Id: If025e7ee10a79ff089920a6d0c1a52358b2d2c22
Signed-off-by: San Mehat <san@google.com>
Kenny Root [Mon, 15 Mar 2010 20:13:41 +0000 (13:13 -0700)]
vold: Convert to use OpenSSL MD5 API
Change-Id: I9b84370fa9a98464c211ebe8983be8dbe9dd7ccd
San Mehat [Mon, 15 Mar 2010 17:28:21 +0000 (10:28 -0700)]
vold: remove some dead code
Change-Id: Iaeb5d3334ec22ed31da9734bb8d7cd17e6a40eaf
Signed-off-by: San Mehat <san@google.com>
San Mehat [Sun, 14 Mar 2010 20:41:54 +0000 (13:41 -0700)]
vold: Remove autorun.inf at mount/unmount time if it exists
Change-Id: Ia57da8ee177453a601a23d965c2b4f16b6de46e5
Signed-off-by: San Mehat <san@google.com>
San Mehat [Sun, 14 Mar 2010 20:41:27 +0000 (13:41 -0700)]
vold: Fix argument validation for volume commands
Change-Id: I74aa63ff9f9bc32bd871e6c53ab50b6baf79e650
Signed-off-by: San Mehat <san@google.com>
San Mehat [Fri, 12 Mar 2010 21:32:47 +0000 (13:32 -0800)]
vold: Bugfixes & cleanups
- Fix issue where container-names > 64 bytes were getting truncated in the
kernel. lo_name is only 64 bytes in length, so we now hash the container
id via md5
- Add 'dump' command to dump loop and devicemapper status
- Add 'debug' command to enable more detailed logging at runtime
- Log vold IPC arguments (minus encryption keys)
- Fix premature return from Loop::lookupActive() and friends
Change-Id: I0e833261a445ce9dc1a8187e5501d27daba1ca76
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 10 Mar 2010 20:48:57 +0000 (12:48 -0800)]
vold: Switch to using libdiskconfig for partition setup.
Also handles an issue where NPARTS=0 on a disk change uevent
Change-Id: I77c56f177dc65df91468bbd7d5fe1889db414d7a
Signed-off-by: San Mehat <san@google.com>
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:05:25 +0000 (18:05 -0800)]
Add an empty CleanSpec.mk
Change-Id: Ied5f7eddd18adb38699c8a034a78ff9de4aab8de
San Mehat [Wed, 3 Mar 2010 20:37:32 +0000 (12:37 -0800)]
vold: Add a versioned superblock to secure containers.
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: San Mehat <san@google.com>
San Mehat [Tue, 2 Mar 2010 21:16:50 +0000 (13:16 -0800)]
vold: Add support for xwarp
Signed-off-by: San Mehat <san@google.com>
San Mehat [Tue, 2 Mar 2010 21:16:33 +0000 (13:16 -0800)]
vold: Don't bail out on init failure & bump version number
Signed-off-by: San Mehat <san@google.com>
San Mehat [Mon, 1 Mar 2010 04:17:20 +0000 (20:17 -0800)]
vold: Allow creation of a container with no filesystem
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 24 Feb 2010 20:12:34 +0000 (12:12 -0800)]
vold: Fix uninitialized mountpoint bug
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 24 Feb 2010 19:43:22 +0000 (11:43 -0800)]
vold: Retry rmdir of asec mount point
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 24 Feb 2010 16:42:51 +0000 (08:42 -0800)]
vold: Prohibit container rename when dst container is mounted
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 24 Feb 2010 16:25:55 +0000 (08:25 -0800)]
vold: fix infinite loop when failing to unmount a busy container in unmountVolume()
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 24 Feb 2010 02:26:13 +0000 (18:26 -0800)]
vold: Make asec sdcard dir a hidden dir
Signed-off-by: San Mehat <san@google.com>
San Mehat [Sat, 20 Feb 2010 02:14:36 +0000 (18:14 -0800)]
vold: Stage the mounting of media to hide the ASEC imagefile directory
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: San Mehat <san@google.com>
San Mehat [Thu, 18 Feb 2010 19:40:49 +0000 (11:40 -0800)]
vold: Clean up asec command response and add support for 'StorageBusy'
Signed-off-by: San Mehat <san@google.com>
San Mehat [Thu, 18 Feb 2010 17:00:18 +0000 (09:00 -0800)]
vold: Add 'force' option to anything that can cause an unmount
Signed-off-by: San Mehat <san@google.com>
San Mehat [Thu, 18 Feb 2010 16:37:45 +0000 (08:37 -0800)]
vold2: Don't allow containers < 1mb, and clean up some logging
Signed-off-by: San Mehat <san@google.com>
Kenny Root [Thu, 18 Feb 2010 17:34:07 +0000 (09:34 -0800)]
Check length of filenames before strcat
Just in case someone tries to set up a series of links to trick us, do a
quick sanity check on the total length of the strings we're about to
concatenate.
Change-Id: Iba9617008dbc1e93e1907393052caf1e52fbe312
San Mehat [Wed, 17 Feb 2010 01:12:00 +0000 (17:12 -0800)]
vold: Refactor Processkiller and add command to return users of a mount point
Signed-off-by: San Mehat <san@google.com>
San Mehat [Sat, 13 Feb 2010 22:19:53 +0000 (14:19 -0800)]
vold: Fix devmapper/ptmx fd leak, and give asec unmount more time
Signed-off-by: San Mehat <san@google.com>
Jean-Baptiste Queru [Thu, 11 Feb 2010 20:20:09 +0000 (12:20 -0800)]
am
4468682c: Merge from open-source master
Merge commit '
4468682c7035d431c6154ab298c5ce0f9e2350f8'
* commit '
4468682c7035d431c6154ab298c5ce0f9e2350f8':
new project, first commit
Jean-Baptiste Queru [Thu, 11 Feb 2010 19:03:01 +0000 (11:03 -0800)]
Merge from open-source master
San Mehat [Mon, 8 Feb 2010 23:51:50 +0000 (15:51 -0800)]
vold: Fix format argument bug
Signed-off-by: San Mehat <san@google.com>
San Mehat [Sat, 6 Feb 2010 17:53:22 +0000 (09:53 -0800)]
vold: Reduce logspam and add 250ms delay before first unmount attempt
Signed-off-by: San Mehat <san@google.com>
San Mehat [Thu, 4 Feb 2010 23:07:01 +0000 (15:07 -0800)]
vold: Fix a few bugs
- share command was taking wrong arguments
- shared command was returning two termination codes
- Force FAT32 cluster size to 4k when formatting
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 3 Feb 2010 19:04:46 +0000 (11:04 -0800)]
vold: Silly rabbit, don't use unlink() when you mean't rmdir()
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 3 Feb 2010 18:26:40 +0000 (10:26 -0800)]
vold: Fix share status argument off by one
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 3 Feb 2010 16:50:19 +0000 (08:50 -0800)]
vold2: Don't print error on unknown Netlink event
Signed-off-by: San Mehat <san@google.com>
San Mehat [Fri, 29 Jan 2010 13:15:16 +0000 (05:15 -0800)]
vold: Bloat reduction
Signed-off-by: San Mehat <san@google.com>
San Mehat [Sat, 23 Jan 2010 16:17:06 +0000 (08:17 -0800)]
vold: Add support for renaming secure containers
Signed-off-by: San Mehat <san@google.com>
San Mehat [Sat, 23 Jan 2010 15:21:21 +0000 (07:21 -0800)]
vold2: update some debugging
Signed-off-by: San Mehat <san@google.com>
San Mehat [Fri, 22 Jan 2010 22:48:31 +0000 (14:48 -0800)]
vold: Don't fail to return path if volume isn't mounted
Signed-off-by: San Mehat <san@google.com>
San Mehat [Mon, 18 Jan 2010 14:19:40 +0000 (06:19 -0800)]
vold: Add command to unmount secure containers
Signed-off-by: San Mehat <san@google.com>
San Mehat [Fri, 15 Jan 2010 17:26:28 +0000 (09:26 -0800)]
vold: Unmount secure containers when the underlying media is removed.
Signed-off-by: San Mehat <san@google.com>
San Mehat [Tue, 12 Jan 2010 23:38:59 +0000 (15:38 -0800)]
vold2: Fix issue with destroying / unmounting asec
Signed-off-by: San Mehat <san@google.com>
San Mehat [Mon, 11 Jan 2010 18:03:24 +0000 (10:03 -0800)]
vold2: Fix a mb -> sector conversion refactor bug
Signed-off-by: San Mehat <san@google.com>
San Mehat [Mon, 11 Jan 2010 17:19:15 +0000 (09:19 -0800)]
vold: Rename the C in ASEC to Container
Signed-off-by: San Mehat <san@google.com>
San Mehat [Mon, 11 Jan 2010 17:17:25 +0000 (09:17 -0800)]
vold: Internally use sector counts for asec lengths
Signed-off-by: San Mehat <san@google.com>
San Mehat [Sun, 10 Jan 2010 21:02:12 +0000 (13:02 -0800)]
vold: Add encrypted ASEC support via devmapper
- Supports up to 4096 containers
- Keys are now implemented - specifying a key of 'none' means no encryption.
Otherwise, the key must be a string of 32 characters
Signed-off-by: San Mehat <san@google.com>
San Mehat [Sat, 9 Jan 2010 20:24:05 +0000 (12:24 -0800)]
vold: Increase max supported loop devices to 255
Signed-off-by: San Mehat <san@google.com>
San Mehat [Sat, 9 Jan 2010 20:23:47 +0000 (12:23 -0800)]
vold: Always format FAT32
Signed-off-by: San Mehat <san@google.com>
San Mehat [Sat, 9 Jan 2010 15:08:06 +0000 (07:08 -0800)]
vold: Use process-killer when unmounting asec containers
Signed-off-by: San Mehat <san@google.com>
San Mehat [Fri, 8 Jan 2010 20:31:44 +0000 (12:31 -0800)]
vold: Temporarily disable asec mountpoint permissions
Signed-off-by: San Mehat <san@google.com>
Doug Kwan [Thu, 7 Jan 2010 21:54:17 +0000 (13:54 -0800)]
Add missing library used by the main executable in linker options. Currently
the library is implicit added via inter-library dependency.
San Mehat [Thu, 7 Jan 2010 20:12:50 +0000 (12:12 -0800)]
vold: Don't freak out if an asec mountpoint already exists
Signed-off-by: San Mehat <san@google.com>
San Mehat [Thu, 7 Jan 2010 03:19:46 +0000 (19:19 -0800)]
vold2: Enable support for custom mount perm masks and wire to asec
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 6 Jan 2010 18:33:53 +0000 (10:33 -0800)]
vold2: Initial support for Android Secure External Caches
Signed-off-by: San Mehat <san@google.com>
San Mehat [Mon, 4 Jan 2010 22:03:36 +0000 (14:03 -0800)]
vold2: Don't crap out if the kernel is missing the NPART/PARTN blkdev uevent patches
Signed-off-by: San Mehat <san@google.com>
San Mehat [Mon, 4 Jan 2010 18:09:16 +0000 (10:09 -0800)]
vold2: Refactor FAT support into a separate class
Signed-off-by: San Mehat <san@google.com>
San Mehat [Mon, 4 Jan 2010 16:30:00 +0000 (08:30 -0800)]
vold2: Don't bail out if the UMS switch isn't there
Signed-off-by: San Mehat <san@google.com>
San Mehat [Sun, 3 Jan 2010 16:59:37 +0000 (08:59 -0800)]
vold2: Don't build for simulator
Signed-off-by: San Mehat <san@google.com>
San Mehat [Tue, 22 Dec 2009 16:32:33 +0000 (08:32 -0800)]
vold2: Manually bootstrap the ums switch since switch kernel uevents are broken
Signed-off-by: San Mehat <san@google.com>
San Mehat [Mon, 21 Dec 2009 20:29:55 +0000 (12:29 -0800)]
vold2: Enable in build
Signed-off-by: San Mehat <san@google.com>