Searched refs:libPhysicalPath (Results 1 - 2 of 2) sorted by relevance
/base/startup/appspawn/modules/sandbox/ |
H A D | sandbox_expand.c | 78 static inline char *GetLastPath(const char *libPhysicalPath) in GetLastPath() argument 80 char *tmp = GetLastStr(libPhysicalPath, "/"); in GetLastPath() 109 const char *libPhysicalPath = cJSON_GetStringValue(dirJson); in MountAllGroup() local 110 APPSPAWN_CHECK(!CheckPath(libPhysicalPath), return -1, "MountAllGroup: path error"); in MountAllGroup() 112 char *dataGroupUuid = GetLastPath(libPhysicalPath); in MountAllGroup() 116 APPSPAWN_LOGV("MountAllGroup src: '%{public}s' =>'%{public}s'", libPhysicalPath, context->buffer[0].buffer); in MountAllGroup() 119 MountArg mountArg = {libPhysicalPath, context->buffer[0].buffer, NULL, mountFlags, NULL, mountSharedFlag}; in MountAllGroup()
|
H A D | sandbox_utils.cpp | 1257 std::string libPhysicalPath = g_physicalAppInstallPath + libBundleName + "/" + libVersion + "/" + libModuleName; in MountAllHsp() 1259 ret = DoAppSandboxMountOnce(libPhysicalPath.c_str(), mntPath.c_str(), "", BASIC_MOUNT_FLAGS, nullptr); in MountAllHsp() 1307 std::string libPhysicalPath = dirs[i]; in MountAllGroup() local 1308 APPSPAWN_CHECK(!CheckPath(libPhysicalPath), return -1, "MountAllGroup: path error"); in MountAllGroup() 1310 size_t lastPathSplitPos = libPhysicalPath.find_last_of(g_fileSeparator); in MountAllGroup() 1313 std::string dataGroupUuid = libPhysicalPath.substr(lastPathSplitPos + 1); in MountAllGroup() 1320 ret = DoAppSandboxMountOnce(libPhysicalPath.c_str(), mntPath.c_str(), "", mountFlags, nullptr, in MountAllGroup()
|
Completed in 5 milliseconds