No description
Find a file
Jeff Sharkey 89f74fbf25 Kill apps using storage through bind mounts.
When unmounting an emulated volume, look for apps with open files
using the final published volume path.

Without this change, we were only looking at the internal paths
used for runtime permissions, which apps never use directly.  This
meant we'd always fail to unmount the volume if apps didn't respect
the EJECTING broadcast, and volume migration would end up wedged
until the device rebooted.

Bug: 24863778
Change-Id: Ibda484e66ab95744c304c344b226caa5b10b7e2e
2015-10-21 15:05:49 -07:00
bench Use random data for benchmark instead of zeros. 2015-07-29 10:03:11 -07:00
fs Add f2fs support for private volumes. 2015-06-08 20:21:25 -07:00
tests Remove superfluous OpenSSL include paths. 2015-01-22 16:45:28 -08:00
Android.mk Add tool for scrubbing files with BLKSECDISCARD. 2015-07-13 21:08:45 +01:00
Asec.h Add in ext4 support for ASEC containers 2012-04-25 14:15:15 -07:00
Benchmark.cpp Mount emulated volumes as consistent location. 2015-07-08 14:07:39 -07:00
Benchmark.h Trim both internal and adopted private storage. 2015-07-01 15:53:51 -07:00
BenchmarkGen.h Use random data for benchmark instead of zeros. 2015-07-29 10:03:11 -07:00
CheckBattery.cpp Make vold compile with -Werror -Wall. 2014-12-18 00:21:21 +00:00
CheckBattery.h On low power turn off rather than rebooting to allow device to charge 2014-06-09 15:15:32 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:05:25 -08:00
CommandListener.cpp Trim both internal and adopted private storage. 2015-07-01 15:53:51 -07:00
CommandListener.h Move crypt commands to a different listener in vold 2015-06-04 21:29:01 +00:00
CryptCommandListener.cpp Don't show UI on default encryption 2015-09-09 12:13:00 -07:00
CryptCommandListener.h Move crypt commands to a different listener in vold 2015-06-04 21:29:01 +00:00
cryptfs.c Merge "Don't show UI on default encryption" into mnc-dr-dev 2015-10-21 14:27:30 +00:00
cryptfs.h Don't show UI on default encryption 2015-09-09 12:13:00 -07:00
Devmapper.cpp Exclusive exec() path, format after partition. 2015-04-11 08:48:13 -07:00
Devmapper.h vold: Bugfixes & cleanups 2010-03-13 16:42:19 -08:00
Disk.cpp Clean up any/all stale partition tables. 2015-09-23 14:14:12 -07:00
Disk.h Trim both internal and adopted private storage. 2015-07-01 15:53:51 -07:00
EmulatedVolume.cpp Kill apps using storage through bind mounts. 2015-10-21 15:05:49 -07:00
EmulatedVolume.h Let's reinvent storage, yet again! 2015-06-25 22:40:08 -07:00
Ext4Crypt.cpp Set uid/gid of newly created user dirs to system/system. 2015-08-24 14:53:28 +01:00
Ext4Crypt.h Add "cryptfs deleteuserkey" command to vold. 2015-07-13 21:08:45 +01:00
hash.h vold: Bugfixes & cleanups 2010-03-13 16:42:19 -08:00
Loop.cpp Exclusive exec() path, format after partition. 2015-04-11 08:48:13 -07:00
Loop.h Fixed type mismatch for ioctl(BLKGETSIZE) 2015-03-30 11:28:11 -07:00
main.cpp Trim both internal and adopted private storage. 2015-07-01 15:53:51 -07:00
MoveTask.cpp Trim both internal and adopted private storage. 2015-07-01 15:53:51 -07:00
MoveTask.h Migrate primary external storage. 2015-04-24 16:08:07 -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 Progress towards dynamic storage support. 2015-03-30 19:46:31 -07:00
NetlinkManager.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
PrivateVolume.cpp Mount emulated volumes as consistent location. 2015-07-08 14:07:39 -07:00
PrivateVolume.h Add f2fs support for private volumes. 2015-06-08 20:21:25 -07:00
Process.cpp Kill apps using storage through bind mounts. 2015-10-21 15:05:49 -07:00
Process.h Kill apps using storage through bind mounts. 2015-10-21 15:05:49 -07:00
PublicVolume.cpp Protect runtime storage mount points. 2015-08-06 11:45:50 -07:00
PublicVolume.h Let's reinvent storage, yet again! 2015-06-25 22:40:08 -07:00
ResponseCode.cpp vold: Switch from LOG -> SLOG 2010-03-25 08:02:28 -07:00
ResponseCode.h Trim both internal and adopted private storage. 2015-07-01 15:53:51 -07:00
secdiscard.cpp Fix erroneous comment in secdiscard.cpp, plus style fixes. 2015-07-13 21:08:45 +01:00
sehandle.h Set SELinux contexts on device nodes created by vold. 2014-09-30 15:35:28 -04:00
TrimTask.cpp Enable benchmark after trim, when requested. 2015-09-09 14:55:45 -07:00
TrimTask.h Trim both internal and adopted private storage. 2015-07-01 15:53:51 -07:00
Utils.cpp Kill apps using storage through bind mounts. 2015-10-21 15:05:49 -07:00
Utils.h Kill apps using storage through bind mounts. 2015-10-21 15:05:49 -07:00
vdc.c Move crypt commands to a different listener in vold 2015-06-04 21:29:01 +00: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
VoldUtil.c Fixed type mismatch for ioctl(BLKGETSIZE) 2015-03-30 11:28:11 -07:00
VoldUtil.h Fixed type mismatch for ioctl(BLKGETSIZE) 2015-03-30 11:28:11 -07:00
VolumeBase.cpp Let's reinvent storage, yet again! 2015-06-25 22:40:08 -07:00
VolumeBase.h Add method to forget private partition keys. 2015-06-22 14:04:54 -07:00
VolumeManager.cpp Protect runtime storage mount points. 2015-08-06 11:45:50 -07:00
VolumeManager.h Trim both internal and adopted private storage. 2015-07-01 15:53:51 -07:00