Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5180d301 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "system_dlkm: Allow overlayfs mount for user build" am: 45df5688

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1975708

Change-Id: I78f8f75ae7f820ac2f029e4d5b655023062f6dee
parents 5d078b59 45df5688
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2256,7 +2256,8 @@ bool fs_mgr_mount_overlayfs_fstab_entry(const FstabEntry& entry) {
#if ALLOW_ADBD_DISABLE_VERITY == 0
    // Allowlist the mount point if user build.
    static const std::vector<const std::string> kAllowedPaths = {
            "/odm", "/odm_dlkm", "/oem", "/product", "/system_ext", "/vendor", "/vendor_dlkm",
            "/odm",         "/odm_dlkm",   "/oem",    "/product",
            "/system_dlkm", "/system_ext", "/vendor", "/vendor_dlkm",
    };
    static const std::vector<const std::string> kAllowedPrefixes = {
            "/mnt/product/",