Home
last modified time | relevance | path

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

/base/startup/appspawn/modules/sandbox/
H A Dsandbox_expand.c127 const SandboxContext *sandboxContext; member
136 const SandboxContext *sandboxContext = overlayContext->sandboxContext; in SetOverlayAppPath() local
143 int ret = strncpy_s(sandboxContext->buffer[0].buffer, in SetOverlayAppPath()
144 sandboxContext->buffer[0].bufferLen, hapPath, tmp - (char *)hapPath); in SetOverlayAppPath()
147 if (strstr(overlayContext->mountedSrcSet, sandboxContext->buffer[0].buffer) != NULL) { in SetOverlayAppPath()
148 APPSPAWN_LOGV("%{public}s have mounted before, no need to mount twice.", sandboxContext->buffer[0].buffer); in SetOverlayAppPath()
153 ret = strcat_s(overlayContext->mountedSrcSet, overlayContext->srcSetLen, sandboxContext->buffer[0].buffer); in SetOverlayAppPath()
154 APPSPAWN_CHECK(ret == 0, return ret, "Fail to add src path to set %{public}s", sandboxContext->buffer[0].buffer); in SetOverlayAppPath()
157 tmp = GetLastStr(sandboxContext in SetOverlayAppPath()
[all...]

Completed in 1 milliseconds