Lines Matching refs:cgroups
155 int cgroups : 1; member
183 char *cgroups[MAX_CGROUPS]; member
201 j->flags.cgroups = 0; in minijail_preenter()
639 j->cgroups[j->cgroup_count] = strdup(path); in minijail_add_to_cgroup()
640 if (!j->cgroups[j->cgroup_count]) in minijail_add_to_cgroup()
643 j->flags.cgroups = 1; in minijail_add_to_cgroup()
902 marshal_append(state, j->cgroups[i], strlen(j->cgroups[i]) + 1); in minijail_marshal_helper()
1047 j->cgroups[i] = strdup(cgroup); in minijail_unmarshal()
1048 if (!j->cgroups[i]) in minijail_unmarshal()
1066 free(j->cgroups[i]); in minijail_unmarshal()
1322 if (write_pid_to_path(j->initpid, j->cgroups[i])) in add_to_cgroups_or_die()
2077 if (j->flags.userns || j->flags.cgroups) { in minijail_run_internal()
2157 if (j->flags.cgroups) in minijail_run_internal()
2431 free(j->cgroups[i]); in minijail_destroy()