diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2018-12-03 13:42:22 -0800 |
|---|---|---|
| committer | Mark Salyzyn <salyzyn@google.com> | 2018-12-04 11:06:47 -0800 |
| commit | dd748aa41cac6682fa6d64d45308ed01a428d4ba (patch) | |
| tree | b66472d640567c4f4ec743fcc297b280f05949e1 /libunwindstack/tests/MemoryCacheTest.cpp | |
| parent | bb72b808f46486997d62b916bbe0126c78be4afb (diff) | |
fs_mgr: Add fs_mgr_overlayfs_is_setup()
Provide a means to determine if overlayfs is currently active with
fs_mgr_overlayfs_is_setup(). Search for current clues in the system
that the overrides are in play. If /mnt/scratch/ is mounted, that
may be enough of a smoking gun because the resource itself may
interfere with operations.
Related to update_engine calling this function to reject performing
an OTA as its operations are incompatible with the overrides.
Test: adb-remount-test.sh
Bug: 120034852
Change-Id: I641163b1559c1a83fe7d0c336d04c10e9956ad3a
Diffstat (limited to 'libunwindstack/tests/MemoryCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions
