summaryrefslogtreecommitdiff
path: root/libutils/String8_test.cpp
diff options
context:
space:
mode:
authorYi-Yo Chiang <yochiang@google.com>2021-05-27 22:29:32 +0800
committerYi-Yo Chiang <yochiang@google.com>2021-06-03 15:53:12 +0800
commitfd39017e573f7d686d241da5e0f95bb7b601b978 (patch)
treecf3db84b7215e3f8b7b2efbc4066caa69f523243 /libutils/String8_test.cpp
parent3447929321890826d33855a1595168147f98e14f (diff)
first_stage_mount: mount point must be canonical path
Ban weird paths such as /../system or //vendor in first stage mount. Add utility function fs_mgr_create_canonical_mount_point() that: * mkdir(mount_point) to ensure mount_point's existence * Test that realpath(mount_point) =?= mount_point Bug: 188898525 Test: Presubmit Test: Boot CF Change-Id: Iaf2ec52701277f26cc81f3e15a47b6083a788334 Merged-In: Iaf2ec52701277f26cc81f3e15a47b6083a788334 (cherry picked from commit 3431d52675f25020b279c9fbcda6b8648f9cf67b)
Diffstat (limited to 'libutils/String8_test.cpp')
0 files changed, 0 insertions, 0 deletions