Lines Matching refs:cgroups
135 int cgroups : 1; member
165 char *cgroups[MAX_CGROUPS]; member
186 j->flags.cgroups = 0; in minijail_preenter()
652 j->cgroups[j->cgroup_count] = strdup(path); in minijail_add_to_cgroup()
653 if (!j->cgroups[j->cgroup_count]) in minijail_add_to_cgroup()
656 j->flags.cgroups = 1; in minijail_add_to_cgroup()
943 marshal_append(state, j->cgroups[i], strlen(j->cgroups[i]) + 1); in minijail_marshal_helper()
1097 j->cgroups[i] = strdup(cgroup); in minijail_unmarshal()
1098 if (!j->cgroups[i]) in minijail_unmarshal()
1116 free(j->cgroups[i]); in minijail_unmarshal()
1343 if (write_pid_to_path(j->initpid, j->cgroups[i])) in add_to_cgroups_or_die()
2086 if (j->flags.userns || j->flags.cgroups) { in minijail_run_internal()
2171 if (j->flags.cgroups) in minijail_run_internal()
2450 free(j->cgroups[i]); in minijail_destroy()