Home
last modified time | relevance | path

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

/base/startup/appspawn/modules/sandbox/
H A Dsandbox_expand.c129 char *mountedSrcSet; member
147 if (strstr(overlayContext->mountedSrcSet, sandboxContext->buffer[0].buffer) != NULL) { in SetOverlayAppPath()
151 ret = strcat_s(overlayContext->mountedSrcSet, overlayContext->srcSetLen, "|"); in SetOverlayAppPath()
153 ret = strcat_s(overlayContext->mountedSrcSet, overlayContext->srcSetLen, sandboxContext->buffer[0].buffer); in SetOverlayAppPath()
187 overlayContext.mountedSrcSet = (char *)calloc(1, overlayContext.srcSetLen + 1); in SetOverlayAppSandboxConfig()
188 APPSPAWN_CHECK(overlayContext.mountedSrcSet != NULL, return -1, "Failed to create mountedSrcSet"); in SetOverlayAppSandboxConfig()
189 *(overlayContext.mountedSrcSet + overlayContext.srcSetLen) = '\0'; in SetOverlayAppSandboxConfig()
191 APPSPAWN_LOGV("overlayContext->mountedSrcSet: '%{public}s'", overlayContext.mountedSrcSet); in SetOverlayAppSandboxConfig()
[all...]
H A Dsandbox_utils.cpp1454 set<string> mountedSrcSet; in SetOverlayAppSandboxProperty() local
1463 if (mountedSrcSet.find(srcPath) != mountedSrcSet.end()) { in SetOverlayAppSandboxProperty()
1477 mountedSrcSet.emplace(srcPath); in SetOverlayAppSandboxProperty()

Completed in 5 milliseconds