No description
Find a file
Ken Sumrall f1a6123f9a Fix encryption on certain devices
There is a race in the encryption code that after it accepts the
decryption password, it tells init to kill all the processes in
class "main", then it mounts the decrypted filesystem, preps it,
and restarts the framework.  For an unknown reason on some devices,
the new framework sometimes starts up before init has killed and
reaped all the old processes.  The proper fix is to make the killing
of the old framework synchronous, so vold waits till all the
processes have died.  But with factory rom a few days away, the
much more pragmatic solution of adding a sleep of 1 second after
telling init to kill the old framework will suffice.

Bug: 7271212
Change-Id: Ie971cd04abbc6f3f6500b4acd79d3b3b26d9561c
2012-10-09 16:20:51 -07:00
tests Change ASCII conversion for hash and add tests 2010-06-20 22:03:10 -07:00
Android.mk Changes to encryption to work with the new filesystem manager 2012-05-01 13:14:55 -07:00
Asec.h Add in ext4 support for ASEC containers 2012-04-25 14:15:15 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:05:25 -08:00
CommandListener.cpp Handle multi-user mountObb() requests. 2012-09-25 16:14:57 -07:00
CommandListener.h Add in ext4 support for ASEC containers 2012-04-25 14:15:15 -07:00
cryptfs.c Fix encryption on certain devices 2012-10-09 16:20:51 -07:00
cryptfs.h Add the new verifypw command to vold/cryptfs 2011-10-12 19:10:38 -07:00
Devmapper.cpp am 2c9d8de7: Merge "Prevent buffer overflows." 2011-06-29 06:42:33 -07:00
Devmapper.h vold: Bugfixes & cleanups 2010-03-13 16:42:19 -08:00
DirectVolume.cpp Merge "Delay disk inserted broadcast until disk is ready" 2012-05-22 07:25:52 -07:00
DirectVolume.h Add the ability to revert a crypto mapping when unmounting a volume 2011-08-31 18:09:35 -07:00
Ext4.cpp Add in ext4 support for ASEC containers 2012-04-25 14:15:15 -07:00
Ext4.h Add in ext4 support for ASEC containers 2012-04-25 14:15:15 -07:00
Fat.cpp Add missing include headers for compilation on Intel target for Google TV. 2010-11-16 10:41:53 -08:00
Fat.h Allow execute on mounted ASEC and OBB containers 2010-09-02 13:16:53 -07:00
hash.h vold: Bugfixes & cleanups 2010-03-13 16:42:19 -08:00
logwrapper.c Use sched_policy to avoid hard-coded cpuctl path 2012-03-05 15:14:33 -08:00
Loop.cpp Add in ext4 support for ASEC containers 2012-04-25 14:15:15 -07:00
Loop.h Add in ext4 support for ASEC containers 2012-04-25 14:15:15 -07:00
main.cpp vold: allow to store key in a file on another partition 2011-06-02 16:30:14 -07:00
NetlinkHandler.cpp Remove obsolete code for monitoring USB status 2011-06-07 08:34:08 -07:00
NetlinkHandler.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
NetlinkManager.cpp vold: Enable the SO_PASSCRED socket option 2011-04-18 15:51:19 -07:00
NetlinkManager.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
Process.cpp vold: Switch from LOG -> SLOG 2010-03-25 08:02:28 -07:00
Process.h vold: Refactor Processkiller and add command to return users of a mount point 2010-02-16 17:12:00 -08:00
ResponseCode.cpp vold: Switch from LOG -> SLOG 2010-03-25 08:02:28 -07:00
ResponseCode.h Add the new verifypw command to vold/cryptfs 2011-10-12 19:10:38 -07:00
vdc.c Fix vdc to add sequence number for NativeConectorDaemon 2012-03-09 16:48:48 -08:00
VoldCommand.cpp system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
VoldCommand.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
Volume.cpp Unmount in-place instead of using MS_MOVE. 2012-10-04 16:50:17 -07:00
Volume.h Add in ext4 support for ASEC containers 2012-04-25 14:15:15 -07:00
VolumeManager.cpp Handle multi-user mountObb() requests. 2012-09-25 16:14:57 -07:00
VolumeManager.h Only cleanup ASECs in external storage 2012-08-09 15:50:58 -07:00
Xwarp.cpp vold: Switch from LOG -> SLOG 2010-03-25 08:02:28 -07:00
Xwarp.h vold: Add support for xwarp 2010-03-02 13:17:02 -08:00