Lines Matching refs:pgrps
179 smb_posix_grps_t *pgrps;
190 pgrps = malloc(sizeof (smb_posix_grps_t));
191 if (pgrps == NULL)
194 pgrps->pg_ngrps = 0;
195 return (pgrps);
199 pgrps = malloc(sizeof (smb_posix_grps_t));
200 if (pgrps == NULL)
203 pgrps->pg_ngrps = 1;
204 pgrps->pg_grps[0] = pwd->pw_gid;
205 return (pgrps);
228 pgrps = (smb_posix_grps_t *)malloc(SMB_POSIX_GRPS_SIZE(num));
229 if (pgrps) {
230 pgrps->pg_ngrps = num;
231 bcopy(gids, pgrps->pg_grps, num * sizeof (gid_t));
235 return (pgrps);