summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack_fuzz.cpp
diff options
context:
space:
mode:
authorYi-Yo Chiang <yochiang@google.com>2021-05-19 17:19:58 +0800
committerYi-Yo Chiang <yochiang@google.com>2021-05-27 16:55:28 +0800
commit18a6cc2bac6975ecfd954a33bbca2544d2778683 (patch)
treec42c7d73cdd5d180c781a206370ba75e7c68f3a7 /libutils/ProcessCallStack_fuzz.cpp
parent8570398065235ed519c3de58769519dfc4a27428 (diff)
Make fs_mgr_overlayfs_mount_fstab_entry() available for user builds
Rename fs_mgr_overlayfs_mount_fstab_entry() to fs_mgr_mount_overlayfs_fstab_entry() and move it out of fs_mgr_overlayfs.cpp to make it available for user builds. Add checks to unsure overlayfs mount point doesn't contain symbolic link or /../. Check the mount point with an allowlist if user build. The mount point should either be /vendor, /product ... or their submounts, or strict submounts of /mnt/vendor and /mnt/product. Bug: 188862155 Test: Boot test with overlayfs mount entries on user build Change-Id: I3b60dfa4b63cf2ae0754f53d1d08365aa7be1ee0 Merged-In: I3b60dfa4b63cf2ae0754f53d1d08365aa7be1ee0 (cherry picked from commit 23816e84ca8821f303d9a3e753d7c050881bacd5)
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions