platform_system_vold/model
Martijn Coenen 3a2dbfee88 Bind mount write view of Android/obb for installers.
Installers will be allowed to write OBB for any application; this is not
easy to achieve on sdcardfs, where the GID of Android/obb is the same as
the GID of Android/data (app-private data), meaning giving installers
write access to Android/obb would also give them write access to
Android/data.

Instead, we create a /mnt/installer view, which is exactly the same as
/mnt/user, with the sole exception that the write sdcardfs view of
Android/obb is mounted on top. This is what will allow installers to
write there, while still being restricted with respect to app-private
data in Android/data.

Bug: 134706060
Test: atest AdoptableHostTest
Change-Id: If2b93870a877efef182bdc06466552a7527499ad
2020-01-11 19:50:25 +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 Bind mount write view of Android/obb for installers. 2020-01-11 19:50:25 +01:00
EmulatedVolume.h Conditionally use sdcardfs. 2020-01-07 09:03:35 +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 Conditionally use sdcardfs. 2020-01-07 09:03:35 +01:00
PublicVolume.h Conditionally use sdcardfs. 2020-01-07 09:03:35 +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