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
commit84fe96bfbc1441eaace6b6b88997c2779abf03b6 (patch)
treecf3db84b7215e3f8b7b2efbc4066caa69f523243 /libutils/String8_test.cpp
parenta79bc0d1b3c8a89ba4fd529d45e348f57e893688 (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