Lines Matching defs:gid
29 set->gid = (gid_t)-1;
47 static const char *get_gid_str(gid_t gid)
53 if (i_getgrgid(gid, &group) <= 0)
54 ret = dec2str(gid);
56 ret = t_strdup_printf("%s(%s)", dec2str(gid), group.gr_name);
79 str_printfa(str, ") failed with euid=%s, gid=%s, egid=%s: %m "
158 gid_t gid;
160 if (str_to_gid(name, &gid) == 0)
161 return gid;
176 gid_t gid, *gid_list, *gid_list2;
218 gid = get_group_id(*tmp);
219 if (gid != process_primary_gid)
220 gid_list2[gid_count++] = gid;
283 process_primary_gid = set->gid;
372 "(wanted=%s, gid=%s, egid=%s)",
393 if (set->gid != (gid_t)-1) {
395 dec2str(set->gid)));
431 if (str_to_gid(value, &set_r->gid) < 0)
432 i_fatal("Invalid gid: %s", value);