diff options
author | Mark Salyzyn <salyzyn@google.com> | 2019-05-29 08:49:11 -0700 |
---|---|---|
committer | suresh yellala <c_ryella@quicinc.com> | 2019-07-20 15:00:13 +0000 |
commit | e4ebcbc2b141be210c83d9423492d16888031d92 (patch) | |
tree | 55fd50a4bbebed44809519b64c899572de9aa415 /trusty/coverage/coverage_test.cpp | |
parent | cec5f2a73ba083481c05d8177c05928b6ed64258 (diff) |
fs_mgr: overlay: do not allow sub-mounts to be overridden
Prevent sub-mounts from being candidates for overlayfs overrides.
We move them temporarily to hold the references, then move them back
after overlayfs mount.
There is a race condition that can not be solved where the content
of the sub-mount is temporarily unavailable. This operation occurs
in first stage init (no problem) and during the first adb remount or
adb disable-verity that causes the backing storage to be setup.
Workaround will be to time the adb remount/disable-verity so that the
device-specific problems do not surface.
Test: adb-remount-test.sh and manual device configs
Bug: 130131892
Bug: 135647457
CRs-Fixed: 2476096
Change-Id: I8782d09b7b389d899aed07b3e6c528280af2d6c8
(cherry picked from commit 8cf210308366e2f6fb828daa77a173fce756c560)
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions