Lines Matching refs:cgroups
159 int cgroups : 1; member
192 char *cgroups[MAX_CGROUPS]; member
238 j->flags.cgroups = 0; in minijail_preenter()
703 j->cgroups[j->cgroup_count] = strdup(path); in minijail_add_to_cgroup()
704 if (!j->cgroups[j->cgroup_count]) in minijail_add_to_cgroup()
707 j->flags.cgroups = 1; in minijail_add_to_cgroup()
1122 marshal_append(state, j->cgroups[i], strlen(j->cgroups[i]) + 1); in minijail_marshal_helper()
1279 j->cgroups[i] = strdup(cgroup); in minijail_unmarshal()
1280 if (!j->cgroups[i]) in minijail_unmarshal()
1290 free(j->cgroups[i]); in minijail_unmarshal()
1713 if (write_pid_to_path(j->initpid, j->cgroups[i])) in add_to_cgroups_or_die()
2680 if (j->flags.userns || j->flags.cgroups) { in minijail_run_internal()
2765 if (j->flags.cgroups) in minijail_run_internal()
3106 free(j->cgroups[i]); in minijail_destroy()