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

Commit 604c0a08 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 am: 5180d301

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

Change-Id: Icecb009e2c1a58f1a409dbd30c188184ddaabf5c
parents 15af4f4b 5180d301
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/",