summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryFileTest.cpp
diff options
context:
space:
mode:
authorBowgo Tsai <bowgotsai@google.com>2017-04-25 13:09:47 +0800
committerBowgo Tsai <bowgotsai@google.com>2017-04-26 01:23:19 +0800
commit71881fffd68b6f9e69786ffa42592e64d490328e (patch)
tree8790d3e4da6046f393acb4b8e934c82ecc80585e /libunwindstack/tests/MemoryFileTest.cpp
parent41346e553b76c6702c68b49d3588e710455483b9 (diff)
init: fix first stage mount failure when two fstab entries have verity_loc
The previous check is incorrect because it compares the basename of previous verity_loc with the full path of current verity_loc. Changes it to compare the full device file path instead of just the basename of verity_loc. This can catch the case of two different verity_loc values with the same basename, e.g., - verify=/dev/block/platform/SOC.0/by-name/metadata - verify=/dev/block/platform/SOC.1/by-name/metadata Bug: 37413399 Bug: 37619597 Test: first stage mount /system and /vendor with the following fs_mgr_flags on bullhead - wait,verify=/dev/block/platform/soc.0/f9824900.sdhci/by-name/metadataa Test: first stage mount /system and /vendor with different verity_loc values on bullhead, checks it bails out Change-Id: I017c8bd9f0790d45e08e57df9a2878e4f62c5f9c
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions