OSDN Git Service

Vold will always bind mount obb and data dirs to lowerfs
authorRicky Wai <rickywai@google.com>
Fri, 19 Mar 2021 15:35:49 +0000 (15:35 +0000)
committerrickywai <rickywai@google.com>
Mon, 22 Mar 2021 16:12:50 +0000 (16:12 +0000)
commit259a49ae155f19f4d313378bf9553984b3c5228e
tree18d6cdf498d572e9a2f2f778ca5d698cee9988f8
parentc237cbc5755f16f004b139bb1334ac913a9e4ffa
Vold will always bind mount obb and data dirs to lowerfs

So shell / root will always access to them directly not via fuse.
And zygote will be unmount these directories to prevent them being
abused for leaking app visibility.

Also, /mnt/androidwritable is not very useful now as it's the same as
/mnt/installer, but we should make shell / root to access /mnt/androidwritable
later and /mnt/installer should only access obb but not data dir.

Bug: 182997439
Test: Able to boot without errors
Test: df on /sdcard/Android/data shows it's no on fuse.
Change-Id: I2ad10b1e80c135f637d37ddf502ee010f89f4946
model/EmulatedVolume.cpp