Lines Matching defs:groups
1122 * This only takes into account the groups defined in
1124 * It does not take into account the groups dynamically set by
1138 gid_t *groups;
1147 groups = user->groups;
1149 while ((--grcnt >= 0) && (groups[grcnt] != gid)) { }
1176 int pr_ngroups; /* number of supplementary groups */
1177 gid_t pr_groups[1]; /* array of supplementary groups */
1182 gid_t groups[readset];
1215 got = read(fd, groups,
1218 p = groups;
1349 * If special groups are mapped, they are also considered as world.
1373 && (*(group->groups) == (gid_t)pace->id))
1985 * the group memberships. The groups are
1986 * not needed when all groups have the
2033 /* other groups */
4092 gid_t *groups;
4099 groups = usermapping->groups;
4105 groups = (gid_t*)malloc(sizeof(gid_t));
4107 groups = (gid_t*)realloc(groups,
4109 if (groups)
4110 groups[grcnt++] = gid;
4117 usermapping->groups = groups;
4125 * This is based on groups defined in /etc/group and does not take
4126 * the groups dynamically set by setgroups() nor any changes in
4129 * Only mapped groups and root group are linked to mapped users
4146 usermapping->groups = (gid_t*)NULL;