Lines Matching refs:sandboxPath

640                                      const std::string &srcPath, const std::string &sandboxPath,
649 umount2(sandboxPath.c_str(), MNT_DETACH);
662 MakeDirRecursive(sandboxPath, FILE_MODE);
667 srcPath.c_str(), sandboxPath.c_str(), fsType.c_str(), mountFlags, options);
668 ret = mount(srcPath.c_str(), sandboxPath.c_str(), fsType.c_str(), mountFlags, options);
671 srcPath.c_str(), sandboxPath.c_str(), errno);
673 ret = mount(nullptr, sandboxPath.c_str(), nullptr, MS_SHARED, nullptr);
675 return ret, "errno is: %{public}d, private mount to %{public}s failed", errno, sandboxPath.c_str());
686 const std::string &srcPath, const std::string &sandboxPath, const std::string &fsType, unsigned long mountFlags)
695 return DoDlpAppMountStrategy(appProperty, srcPath, sandboxPath, fsType, mountFlags);
766 std::string sandboxPath = "";
769 sandboxPath = sandboxRoot + ConvertToRealPathWithPermission(appProperty, tmpSandboxPath);
771 sandboxPath = sandboxRoot + ConvertToRealPath(appProperty, tmpSandboxPath);
773 return sandboxPath;
809 std::string sandboxPath = GetSandboxPath(appProperty, mntPoint, section, sandboxRoot);
816 int ret = HandleSpecialAppMount(appProperty, srcPath, sandboxPath, mountConfig.fsType, mountFlags);
818 ret = DoAppSandboxMountOnce(srcPath.c_str(), sandboxPath.c_str(), mountConfig.fsType.c_str(),
826 section.c_str(), sandboxPath.c_str());
1598 void SandboxUtils::MountDevShmPath(std::string &sandboxPath)
1600 std::string sandboxDevShmPath = sandboxPath + DEV_SHM_DIR;
1911 MountDir(property, rootPath, nullptr, MOUNT_SHARED_MAP[i].sandboxPath);
1916 MountDir(property, rootPath, nullptr, MOUNT_SHARED_MAP[i].sandboxPath);