Home
last modified time | relevance | path

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

/base/startup/appspawn/modules/sandbox/
H A Dsandbox_load.c200 sandboxNode->demandInfo->uid = GetIntValueFromJsonObj(config, "uid", -1); in FillPathDemandInfo()
201 sandboxNode->demandInfo->gid = GetIntValueFromJsonObj(config, "gid", -1); in FillPathDemandInfo()
202 sandboxNode->demandInfo->mode = GetIntValueFromJsonObj(config, "ugo", -1); in FillPathDemandInfo()
219 cJSON *demandInfo = cJSON_GetObjectItemCaseSensitive(config, "create-on-demand"); in DecodeMountPathConfig() local
220 PathMountNode *sandboxNode = CreatePathMountNode(type, demandInfo != NULL); in DecodeMountPathConfig()
222 sandboxNode->createDemand = demandInfo != NULL; in DecodeMountPathConfig()
235 FillPathDemandInfo(demandInfo, sandboxNode); in DecodeMountPathConfig()
H A Dappspawn_sandbox.c363 uid_t uid = sandboxNode->demandInfo->uid != INVALID_UID ? sandboxNode->demandInfo->uid : info->uid; in CreateDemandSrc()
364 gid_t gid = sandboxNode->demandInfo->gid != INVALID_UID ? sandboxNode->demandInfo->gid : info->gid; in CreateDemandSrc()
369 if (sandboxNode->demandInfo->mode != INVALID_UID) { in CreateDemandSrc()
370 ret = chmod(args->originPath, sandboxNode->demandInfo->mode); in CreateDemandSrc()
H A Dappspawn_sandbox.h131 PathDemandInfo demandInfo[0]; member

Completed in 6 milliseconds