summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorYi-Yo Chiang <yochiang@google.com>2021-05-22 21:54:00 +0800
committerYi-Yo Chiang <yochiang@google.com>2021-05-26 15:33:18 +0800
commit8570398065235ed519c3de58769519dfc4a27428 (patch)
treecb8535e2a382935a6a36f14a1a7d8810e675529b /trusty/coverage/coverage.cpp
parenta38c89a2f07a4645a8d935ae6686a12f65a5d530 (diff)
adb-remount-test: Strengthen skip_administrative_mounts
Refactor skip_administrative_mounts so that it filters by device name, mount point and filesystem type. (Was filtering by device name and mount point.) We need this because pseudo filesystems such as tmpfs and overlayfs can have free-formed device name: blah /mnt/mnt_point overlay ro,lowerdir=... However the filesystem type (third field of /proc/mounts) must be reflecting the actual filesystem, so to robustly filter out administrative filesystems, we have to check the filesystem type field. Bug: 188862155 Test: adb-remount-test.sh Change-Id: I5058cbe8a36920f25b73a5d5833e9fc5a096e90f Merged-In: I5058cbe8a36920f25b73a5d5833e9fc5a096e90f (cherry picked from commit f931ad94465c24b8056618f85978af14c052079f)
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions