Home
last modified time | relevance | path

Searched refs:sandboxPath (Results 1 - 7 of 7) sorted by relevance

/base/startup/appspawn/modules/sandbox/
H A Dsandbox_utils.h49 std::string sandboxPath; member
124 static void MountDevShmPath(std::string &sandboxPath);
140 const char *sandboxPath; member
H A Dsandbox_utils.cpp640 const std::string &srcPath, const std::string &sandboxPath, in DoDlpAppMountStrategy()
649 umount2(sandboxPath.c_str(), MNT_DETACH); in DoDlpAppMountStrategy()
662 MakeDirRecursive(sandboxPath, FILE_MODE); in DoDlpAppMountStrategy()
667 srcPath.c_str(), sandboxPath.c_str(), fsType.c_str(), mountFlags, options); in DoDlpAppMountStrategy()
668 ret = mount(srcPath.c_str(), sandboxPath.c_str(), fsType.c_str(), mountFlags, options); in DoDlpAppMountStrategy()
671 srcPath.c_str(), sandboxPath.c_str(), errno); in DoDlpAppMountStrategy()
673 ret = mount(nullptr, sandboxPath.c_str(), nullptr, MS_SHARED, nullptr); in DoDlpAppMountStrategy()
675 return ret, "errno is: %{public}d, private mount to %{public}s failed", errno, sandboxPath.c_str()); in DoDlpAppMountStrategy()
686 const std::string &srcPath, const std::string &sandboxPath, const std::string &fsType, unsigned long mountFlags) in HandleSpecialAppMount()
695 return DoDlpAppMountStrategy(appProperty, srcPath, sandboxPath, fsTyp in HandleSpecialAppMount()
639 DoDlpAppMountStrategy(const AppSpawningCtx *appProperty, const std::string &srcPath, const std::string &sandboxPath, const std::string &fsType, unsigned long mountFlags) DoDlpAppMountStrategy() argument
685 HandleSpecialAppMount(const AppSpawningCtx *appProperty, const std::string &srcPath, const std::string &sandboxPath, const std::string &fsType, unsigned long mountFlags) HandleSpecialAppMount() argument
766 std::string sandboxPath = ""; GetSandboxPath() local
809 std::string sandboxPath = GetSandboxPath(appProperty, mntPoint, section, sandboxRoot); DoAllMntPointsMount() local
1598 MountDevShmPath(std::string &sandboxPath) MountDevShmPath() argument
[all...]
H A Dappspawn_sandbox.h223 const char *sandboxPath; member
H A Dappspawn_sandbox.c632 MountDir(info, context->bundleName, rootPath, MOUNT_SHARED_MAP[i].sandboxPath); in MountDirToShared()
637 MountDir(info, context->bundleName, rootPath, MOUNT_SHARED_MAP[i].sandboxPath); in MountDirToShared()
662 const char *sandboxPath = GetSandboxRealVar(context, BUFFER_FOR_TARGET, depNode->target, NULL, NULL); in UpdateMountPathDepsPath() local
663 if (srcPath == NULL || sandboxPath == NULL) { in UpdateMountPathDepsPath()
670 depNode->target = strdup(sandboxPath); in UpdateMountPathDepsPath()
/base/web/webview/ohos_adapter/ohos_resource_adapter/src/
H A Dohos_resource_adapter_impl.cpp147 std::string sandboxPath = convertToSandboxPath(arkWebCoreHapPathOverride, prefixPath); in GetArkWebHapPath() local
148 if (access(sandboxPath.c_str(), F_OK) == 0) { in GetArkWebHapPath()
150 return sandboxPath; in GetArkWebHapPath()
197 std::string sandboxPath = convertToSandboxPath(arkWebCoreHapPathOverride, prefixPath); in GetNWebHapPath() local
198 WVLOG_D("sandboxPath,%{public}s", sandboxPath.c_str()); in GetNWebHapPath()
199 if (access(sandboxPath.c_str(), F_OK) == 0) { in GetNWebHapPath()
200 return sandboxPath; in GetNWebHapPath()
/base/hiviewdfx/hiview/adapter/service/server/src/
H A Dhiview_service_ability.cpp221 std::string sandboxPath = GetSandBoxPathByUid(uid); in CopyOrMoveFile() local
222 if (sandboxPath.empty()) { in CopyOrMoveFile()
230 std::string fullPath = ComposeFilePath(sandboxPath, dest, logName); in CopyOrMoveFile()
/base/startup/appspawn/service/hnp/installer/src/
H A Dhnp_installer.c217 char sandboxPath[MAX_FILE_PATH_LEN]; in HnpUnInstallPublicHnp() local
229 if (sprintf_s(sandboxPath, MAX_FILE_PATH_LEN, HNP_SANDBOX_BASE_PATH"/%s.org", name) < 0) { in HnpUnInstallPublicHnp()
234 ret = HnpProcessRunCheck(sandboxPath); in HnpUnInstallPublicHnp()

Completed in 10 milliseconds