From 023d897961ea27f91c9ee8b16dc3eb5eac4c4367 Mon Sep 17 00:00:00 2001 From: Ramji Jiyani Date: Tue, 8 Feb 2022 02:04:24 +0000 Subject: [PATCH] system_dlkm: Allow overlayfs mount for user build Bug: 200082547 Test: Verification of overlayfs entries with below 1. adb root && adb remount && adb reboot 2. adb shell mount | grep system_dlkm Signed-off-by: Ramji Jiyani Change-Id: I3fae1fcc6bba81795d6646c10d9fb9552ead8370 --- fs_mgr/fs_mgr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs_mgr/fs_mgr.cpp b/fs_mgr/fs_mgr.cpp index 8ce961b8e..960173a4d 100644 --- a/fs_mgr/fs_mgr.cpp +++ b/fs_mgr/fs_mgr.cpp @@ -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 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 kAllowedPrefixes = { "/mnt/product/",