Searched refs:demandInfo (Results 1 - 3 of 3) sorted by relevance
/base/startup/appspawn/modules/sandbox/ |
H A D | sandbox_load.c | 200 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 D | appspawn_sandbox.c | 363 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 D | appspawn_sandbox.h | 131 PathDemandInfo demandInfo[0]; member
|
Completed in 6 milliseconds