platform_system_vold/model
Martijn Coenen 6f5802e160 Use sdcardfs for pass-through mounts.
The pass-through mount is used by MediaProvider to access external
storage. Previously, it was the raw filesystem (eg ext4/f2fs); the
problem with that is that the permissions on that filesystem don't allow
MediaProvider to access all the files it needs to - in particular
directories under Android/

To solve this problem, we can have the pass-through mount sit on top of
sdcardfs instead of the raw filesystem. This means we need to mount
sdcardfs even in case we're using FUSE, but we already needed to do this
anyway for other performance reasons.

Bug: 135341433
Test: atest AdoptableHostTest
Change-Id: I893d5e5076c5096d2d55212f643c9a857242e964
2019-12-10 16:49:16 +01:00
..
Disk.cpp vold: const-ify some of the API 2018-12-20 10:38:15 -08:00
Disk.h vold: const-ify some of the API 2018-12-20 10:38:15 -08:00
EmulatedVolume.cpp Use sdcardfs for pass-through mounts. 2019-12-10 16:49:16 +01:00
EmulatedVolume.h Use sdcardfs for pass-through mounts. 2019-12-10 16:49:16 +01:00
ObbVolume.cpp Add GetBlockDevSize, GetBlockDevSectors helpers 2018-09-24 14:25:24 +02:00
ObbVolume.h clang-format many files. 2018-09-18 15:41:22 -07:00
PrivateVolume.cpp Fix multi-user and multi-storage with FUSE 2019-11-11 20:24:49 +00:00
PrivateVolume.h Fix multi-user and multi-storage with FUSE 2019-11-11 20:24:49 +00:00
PublicVolume.cpp Use sdcardfs for pass-through mounts. 2019-12-10 16:49:16 +01:00
PublicVolume.h Use sdcardfs for pass-through mounts. 2019-12-10 16:49:16 +01:00
StubVolume.cpp StubVolume as first class Volume in Vold 2018-11-08 07:40:43 +00:00
StubVolume.h StubVolume as first class Volume in Vold 2018-11-08 07:40:43 +00:00
VolumeBase.cpp Add mount callback 2019-11-22 17:06:04 +01:00
VolumeBase.h Add mount callback 2019-11-22 17:06:04 +01:00