summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2018-12-12 10:36:32 -0800
committerMark Salyzyn <salyzyn@google.com>2018-12-12 14:21:10 -0800
commitd202c55453b54bb7f4f4e82eaf6e08ebee6cde44 (patch)
tree2579ee3317196c212e5f05bce44cc59294b3b67b /trusty/coverage/coverage.cpp
parent25a83f0176aa25a34d9fabbe6b59f9eebb1b5b94 (diff)
fs_mgr: errno handling in fs_mgr_overlayfs_setup()
Do not report errno if ENOENT or ENXIO as it is expected when verity is in fact disabled or not setup on platform. Reading the default fstab can also result in ENOENT if fstab or dt are missing on purpose, but if we get an fstab then restore the errno as we move on. fs_mgr_has_shared_blocks sets errno, when all we care about is yes or no answer (EPERM notwithstanding, which indicates do not know). If no candidates are found to override, and not caused by EPERM, then suppress errno. Test: adb-remount-test.sh Bug: 109821005 Change-Id: If7ae257cb6b738a64ba43d32805760cc292b2fae
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions