Merge "fs_mgr: avoid std::vector<const T>" into main
This commit is contained in:
commit
d5c75fd591
1 changed files with 2 additions and 2 deletions
|
|
@ -2215,11 +2215,11 @@ bool fs_mgr_mount_overlayfs_fstab_entry(const FstabEntry& entry) {
|
||||||
|
|
||||||
#if ALLOW_ADBD_DISABLE_VERITY == 0
|
#if ALLOW_ADBD_DISABLE_VERITY == 0
|
||||||
// Allowlist the mount point if user build.
|
// Allowlist the mount point if user build.
|
||||||
static const std::vector<const std::string> kAllowedPaths = {
|
static const std::vector<std::string> kAllowedPaths = {
|
||||||
"/odm", "/odm_dlkm", "/oem", "/product",
|
"/odm", "/odm_dlkm", "/oem", "/product",
|
||||||
"/system_dlkm", "/system_ext", "/vendor", "/vendor_dlkm",
|
"/system_dlkm", "/system_ext", "/vendor", "/vendor_dlkm",
|
||||||
};
|
};
|
||||||
static const std::vector<const std::string> kAllowedPrefixes = {
|
static const std::vector<std::string> kAllowedPrefixes = {
|
||||||
"/mnt/product/",
|
"/mnt/product/",
|
||||||
"/mnt/vendor/",
|
"/mnt/vendor/",
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue