Loading core/jni/fd_utils-inl.h +6 −0 Original line number Original line Diff line number Diff line Loading @@ -295,6 +295,12 @@ class FileDescriptorInfo { return true; return true; } } // All regular files that are placed under this path are whitelisted automatically. static const std::string kZygoteWhitelistPath = "/vendor/zygote_whitelist/"; if (StartsWith(path, kZygoteWhitelistPath) && path.find("/../") == std::string::npos) { return true; } return false; return false; } } Loading Loading
core/jni/fd_utils-inl.h +6 −0 Original line number Original line Diff line number Diff line Loading @@ -295,6 +295,12 @@ class FileDescriptorInfo { return true; return true; } } // All regular files that are placed under this path are whitelisted automatically. static const std::string kZygoteWhitelistPath = "/vendor/zygote_whitelist/"; if (StartsWith(path, kZygoteWhitelistPath) && path.find("/../") == std::string::npos) { return true; } return false; return false; } } Loading