No description
Find a file
Jeff Sharkey 7a3c3d462e Unmount in-place instead of using MS_MOVE.
To support multi-user emulated storage, we mount rootfs as MS_SHARED,
which means we can't MS_MOVE existing mount points rooted in the
shared subtree.  Initial staging is still able to MS_MOVE, since it's
rooted in a MS_PRIVATE tmpfs rooted at /mnt/secure.

This change fixes unmounting by operating in-place instead of trying
(and failing) to MS_MOVE back to staging.

Bug: 7127564
Change-Id: I4783db4319b61c0915da39361cbc7e8f4943d094
2012-10-04 16:50:17 -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 Update environment variable for multi-user. 2012-10-01 14:36:26 -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