Lines Matching refs:gidmap
175 char *gidmap; member
519 int API minijail_gidmap(struct minijail *j, const char *gidmap) in minijail_gidmap() argument
521 j->gidmap = strdup(gidmap); in minijail_gidmap()
522 if (!j->gidmap) in minijail_gidmap()
525 for (ch = j->gidmap; *ch; ch++) { in minijail_gidmap()
936 j->gidmap = NULL; in minijail_unmarshal()
1331 if (j->gidmap && j->flags.disable_setgroups) { in write_ugid_maps_or_die()
1342 if (j->gidmap && write_proc_file(j->initpid, j->gidmap, "gid_map") != 0) in write_ugid_maps_or_die()
1350 if (j->gidmap && setresgid(0, 0, 0)) in enter_user_namespace()
2426 if (j->gidmap) in minijail_destroy()
2427 free(j->gidmap); in minijail_destroy()