Home
last modified time | relevance | path

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

/base/startup/init/services/sandbox/
H A Dsandbox.c275 linklist_t *tmpLink = (linklist_t *)calloc(1, sizeof(linklist_t)); in AddSymbolLinksToSandbox() local
276 BEGET_ERROR_CHECK(tmpLink != NULL, return -1, "Failed calloc err=%d", errno); in AddSymbolLinksToSandbox()
277 tmpLink->target = strdup(target); in AddSymbolLinksToSandbox()
278 BEGET_ERROR_CHECK(tmpLink->target != NULL, free(tmpLink); return -1, "Failed to dup target"); in AddSymbolLinksToSandbox()
279 tmpLink->linkName = strdup(name); in AddSymbolLinksToSandbox()
280 BEGET_ERROR_CHECK(tmpLink->linkName != NULL, free(tmpLink); return -1, "Failed to dup linkName"); in AddSymbolLinksToSandbox()
281 OH_ListInit(&tmpLink->node); in AddSymbolLinksToSandbox()
282 RemoveOldSandboxLinkListNode(&sandbox->linksHead, tmpLink in AddSymbolLinksToSandbox()
[all...]

Completed in 1 milliseconds