Commit graph

5637 commits

Author SHA1 Message Date
San Mehat
2b22552f9a vold: Fix share status argument off by one
Signed-off-by: San Mehat <san@google.com>
2010-02-03 10:26:40 -08:00
San Mehat
fbe33b4a40 vold2: Don't print error on unknown Netlink event
Signed-off-by: San Mehat <san@google.com>
2010-02-03 08:50:19 -08:00
San Mehat
eba65e9d43 vold: Bloat reduction
Signed-off-by: San Mehat <san@google.com>
2010-02-02 08:03:50 -08:00
San Mehat
048b0801fc vold: Add support for renaming secure containers
Signed-off-by: San Mehat <san@google.com>
2010-01-23 08:17:06 -08:00
San Mehat
68f8ebdb24 vold2: update some debugging
Signed-off-by: San Mehat <san@google.com>
2010-01-23 07:23:59 -08:00
San Mehat
a4dc3b15b7 vold: Don't fail to return path if volume isn't mounted
Signed-off-by: San Mehat <san@google.com>
2010-01-22 14:48:31 -08:00
San Mehat
5817821cf1 vold: Add command to unmount secure containers
Signed-off-by: San Mehat <san@google.com>
2010-01-18 06:19:40 -08:00
San Mehat
88705166ab vold: Unmount secure containers when the underlying media is removed.
Signed-off-by: San Mehat <san@google.com>
2010-01-15 09:26:28 -08:00
San Mehat
0586d54053 vold2: Fix issue with destroying / unmounting asec
Signed-off-by: San Mehat <san@google.com>
2010-01-12 15:38:59 -08:00
San Mehat
dfe79492a4 vold2: Fix a mb -> sector conversion refactor bug
Signed-off-by: San Mehat <san@google.com>
2010-01-11 10:03:24 -08:00
San Mehat
c66770f4c0 vold: Rename the C in ASEC to Container
Signed-off-by: San Mehat <san@google.com>
2010-01-11 09:19:15 -08:00
San Mehat
8b8f71b1d7 vold: Internally use sector counts for asec lengths
Signed-off-by: San Mehat <san@google.com>
2010-01-11 09:17:25 -08:00
San Mehat
b78a32c1d5 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>
2010-01-11 08:12:52 -08:00
San Mehat
8da6bcb006 vold: Increase max supported loop devices to 255
Signed-off-by: San Mehat <san@google.com>
2010-01-09 12:24:05 -08:00
San Mehat
8d934caeae vold: Always format FAT32
Signed-off-by: San Mehat <san@google.com>
2010-01-09 12:23:47 -08:00
San Mehat
23969931fa vold: Use process-killer when unmounting asec containers
Signed-off-by: San Mehat <san@google.com>
2010-01-09 07:08:06 -08:00
San Mehat
cff5ec3d36 vold: Temporarily disable asec mountpoint permissions
Signed-off-by: San Mehat <san@google.com>
2010-01-08 12:31:44 -08:00
Doug Kwan
1bc9558895 Add missing library used by the main executable in linker options. Currently
the library is implicit added via inter-library dependency.
2010-01-07 13:54:17 -08:00
San Mehat
eb13a90bb9 vold: Don't freak out if an asec mountpoint already exists
Signed-off-by: San Mehat <san@google.com>
2010-01-07 12:15:00 -08:00
San Mehat
fff0b47998 vold2: Enable support for custom mount perm masks and wire to asec
Signed-off-by: San Mehat <san@google.com>
2010-01-06 19:19:46 -08:00
San Mehat
a19b250bd2 vold2: Initial support for Android Secure External Caches
Signed-off-by: San Mehat <san@google.com>
2010-01-06 10:55:29 -08:00
San Mehat
7b8f2db4b0 vold2: Don't crap out if the kernel is missing the NPART/PARTN blkdev uevent patches
Signed-off-by: San Mehat <san@google.com>
2010-01-04 14:03:36 -08:00
San Mehat
bf04185c88 vold2: Refactor FAT support into a separate class
Signed-off-by: San Mehat <san@google.com>
2010-01-04 10:09:16 -08:00
San Mehat
79e31bedca vold2: Don't bail out if the UMS switch isn't there
Signed-off-by: San Mehat <san@google.com>
2010-01-04 08:30:00 -08:00
San Mehat
11f78c181e vold2: Don't build for simulator
Signed-off-by: San Mehat <san@google.com>
2010-01-03 08:59:37 -08:00
San Mehat
0cde53ce7b vold2: Manually bootstrap the ums switch since switch kernel uevents are broken
Signed-off-by: San Mehat <san@google.com>
2010-01-01 10:57:33 -08:00
San Mehat
a1c2ca1c70 vold2: Enable in build
Signed-off-by: San Mehat <san@google.com>
2009-12-21 12:29:55 -08:00
San Mehat
a2677e4ad0 vold2: Get mounting/unmounting/formatting/sharing working
Signed-off-by: San Mehat <san@google.com>
2009-12-19 09:54:42 -08:00
San Mehat
dd9b8e92aa vold2: Some more work on partitioning support
Signed-off-by: San Mehat <san@google.com>
2009-10-21 11:07:21 -07:00
San Mehat
49e2bce5b7 vold2: Wire up more of the mount function
Signed-off-by: San Mehat <san@android.com>
2009-10-12 16:29:01 -07:00
android-build SharedAccount
8d5ad9a7cd new project, first commit 2009-10-12 15:03:44 -07:00
San Mehat
ae10b91044 vold2: Rename DeviceVolume -> DirectVolume
Signed-off-by: San Mehat <san@android.com>
2009-10-12 15:03:15 -07:00
San Mehat
3578c41ef1 vold2: Add block device udev bootstrapping
Signed-off-by: San Mehat <san@android.com>
2009-10-12 15:03:14 -07:00
San Mehat
59abc3c56b vold2: DeviceVolume: Add pending partition support
Signed-off-by: San Mehat <san@android.com>
2009-10-12 15:03:14 -07:00
San Mehat
fd7f587512 vold2: Refactor the netlink event handling and better define how partitions/disks are handled
Signed-off-by: San Mehat <san@android.com>
2009-10-12 15:02:58 -07:00
San Mehat
f1b736bc56 system: vold2: Initial skeleton for vold2.
Let there be light.

Signed-off-by: San Mehat <san@android.com>
2009-10-10 17:57:51 -07:00
Jean-Baptiste Queru
8f8ba4d0c0 Empty starting point 2009-10-08 17:03:52 -07:00