Lines Matching defs:gid
59 if (argp->key.gid > MAXUID)
61 (void) snprintf(gidstr, 12, "%d", argp->key.gid);
66 * Validates group entry replacing gid > MAXUID by GID_NOBODY.
72 ulong_t gid;
91 gid = strtoul(gidp, (char **)&linep, 10); /* grab gid */
96 if (gid <= MAXUID)
115 /* Replace ephemeral gid by GID_NOBODY in the same buffer */
186 * Add gid to gid_array if it's not already there. gid_array must have room
190 add_gid(gid_t gid_array[], int numgids, gid_t gid)
195 if (gid_array[i] == gid) {
199 gid_array[numgids++] = gid;
214 gid_t gid;
238 gid = (gid_t)value;
240 numgids = add_gid(gid_array, numgids, gid);