Home
last modified time | relevance | path

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

/base/startup/appspawn/modules/sandbox/
H A Dsandbox_load.c351 SandboxMountNode **nameGroups = (SandboxMountNode **)calloc(1, sizeof(SandboxMountNode *) * count); in ParseMountGroupsConfig() local
352 APPSPAWN_CHECK(nameGroups != NULL, return APPSPAWN_SYSTEM_ERROR, "Failed to alloc memory for group name"); in ParseMountGroupsConfig()
357 if (section->nameGroups[j] == NULL) { in ParseMountGroupsConfig()
360 nameGroups[number++] = section->nameGroups[j]; in ParseMountGroupsConfig()
365 nameGroups[number] = NULL; in ParseMountGroupsConfig()
380 if (section->nameGroups[j] != NULL && section->nameGroups[j] == (SandboxMountNode *)mountNode) { in ParseMountGroupsConfig()
388 nameGroups[number++] = (SandboxMountNode *)mountNode; in ParseMountGroupsConfig()
391 if (section->nameGroups ! in ParseMountGroupsConfig()
[all...]
H A Dappspawn_sandbox.c723 if (section->nameGroups == NULL) { in MountSandboxConfig()
728 if (section->nameGroups[i] == NULL) { in MountSandboxConfig()
731 SandboxNameGroupNode *groupNode = (SandboxNameGroupNode *)section->nameGroups[i]; in MountSandboxConfig()
1096 if (section == NULL || section->nameGroups == NULL) { in SetSystemConstDepGroups()
1102 if (section->nameGroups[i] == NULL) { in SetSystemConstDepGroups()
1105 SandboxNameGroupNode *groupNode = (SandboxNameGroupNode *)section->nameGroups[i]; in SetSystemConstDepGroups()
1115 if (section == NULL || section->nameGroups == NULL) { in SetAppVariableDepGroups()
1121 if (section->nameGroups[i] == NULL) { in SetAppVariableDepGroups()
1124 SandboxNameGroupNode *groupNode = (SandboxNameGroupNode *)section->nameGroups[i]; in SetAppVariableDepGroups()
1143 if (sandboxNode->section.nameGroups in SetSpawnFlagsDepGroups()
[all...]
H A Dsandbox_manager.c202 section->nameGroups = NULL; in InitSandboxSection()
215 if (section->nameGroups) { in ClearSandboxSection()
216 free(section->nameGroups); in ClearSandboxSection()
217 section->nameGroups = NULL; in ClearSandboxSection()
266 if (section->nameGroups[i]) { in DumpSandboxSection()
267 SandboxNameGroupNode *groupNode = (SandboxNameGroupNode *)section->nameGroups[i]; in DumpSandboxSection()
H A Dappspawn_sandbox.h151 SandboxMountNode **nameGroups; member

Completed in 6 milliseconds