android_system_core/fs_mgr/include
Yi-Yo Chiang 84fe96bfbc 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 3431d52675)
2021-06-03 15:53:12 +08:00
..
fs_mgr Introduce inotify-based replacements for fs_mgr_wait_for_file. 2019-06-18 15:27:09 -07:00
fs_mgr.h first_stage_mount: mount point must be canonical path 2021-06-03 15:53:12 +08:00
fs_mgr_dm_linear.h fs_mgr: CreateDmTable takes CreateLogicalPartitionParams 2019-09-11 18:32:57 -07:00
fs_mgr_overlayfs.h Remove deprecated fs_mgr_overlayfs_required_devices() 2021-06-02 16:54:11 +08:00
fs_mgr_vendor_overlay.h Mount vendor overlay from the system partition 2018-11-01 10:26:12 +09:00