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 <ramjiyani@google.com>
Change-Id: I3fae1fcc6bba81795d6646c10d9fb9552ead8370
This commit is contained in:
parent
848fe8abea
commit
023d897961
1 changed files with 2 additions and 1 deletions
|
|
@ -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/",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue