summaryrefslogtreecommitdiff
path: root/code_coverage/Android.bp
diff options
context:
space:
mode:
authorYi-Yo Chiang <yochiang@google.com>2021-02-11 22:59:11 +0800
committerYo Chiang <yochiang@google.com>2021-02-18 04:36:52 +0000
commitd1ff1bcfbcc76397b1896138ed6cbff136294d4b (patch)
tree1cf66c3708db066c08da4954794d30a660bb0efe /code_coverage/Android.bp
parent9e22a46db9161c864eb16b93a7bc911a9a55211a (diff)
fs_mgr: Add OverlayMountPoints() to get the list of overlayfs backing storage
Remove kOverlayMountPoints; add OverlayMountPoints(). Fix a regression where if host system didn't install a scratch_gsi partition and physical /cache partition is mounted, then DSU guest system could use /cache as its overlayfs backing storage. This is generally unwanted as the /cache partition could be shared between host and guest. Dynamically return the list of overlayfs backing storage candidates, so we don't accidentally fall back to use /cache storage within a DSU system. Bug: 165925766 Bug: 179980369 Test: 1. Prepare a DUT that have a physical cache partition, such as cuttlefish. 2. Install a DSU system, and unsure that scratch_gsi is not installed. 3. Reboot into DSU, verify that adb remount fails and overlayfs scratch is not created under /cache. Change-Id: I1815ac5367c0aac8614aeaabebe0e2cb91cbe161
Diffstat (limited to 'code_coverage/Android.bp')
0 files changed, 0 insertions, 0 deletions