Searched refs:cr_groups (Results 1 - 10 of 10) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Ducred.h102 gid_t cr_groups[NGROUPS]; /* advisory group list */ member in struct:ucred::posix_cred
136 gid_t cr_groups[NGROUPS]; /* advisory group list */ member in struct:xucred
140 #define cr_gid cr_groups[0]
H A Dsysctl.h677 gid_t cr_groups[NGROUPS]; /* groups */ member in struct:_ucred
/darwin-on-arm/xnu/tools/
H A Dcred_dump_creds.c28 gid_t cr_groups[NGROUPS]; /* advisory group list */ member in struct:debug_ucred
98 printf("%d", credp->cr_groups[i]);
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_credential.c1764 * Description: Set EGID by changing the first element of cr_groups for the
1801 if (pcred->cr_groups[i] == new_egid) {
1802 pcred->cr_groups[i] = old_egid;
1837 pcred->cr_groups[0] = new_egid;
2813 * EGID is cr_groups[0] as an implementation detail.
2828 if (gid == pcred->cr_groups[i]) {
3047 gid = pcred1->cr_groups[i];
3567 /* Caller *must* specify at least the egid in cr_groups[0] */
3600 bcopy(&pcred->cr_groups[0], &new_pcred->cr_groups[
5213 gid_t cr_groups[NGROUPS]; /* advisory group list */ member in struct:debug_ucred
[all...]
H A Dkern_prot.c467 if ((error = copyout((caddr_t)pcred->cr_groups,
1309 egid != my_pcred->cr_groups[0] && /* allow no change of egid */
1687 AUDIT_ARG(groupset, posix_cred_get(my_cred)->cr_groups, ngrp);
2073 bcopy(pcr->cr_groups, xcr->cr_groups, sizeof(xcr->cr_groups));
H A Dkern_sysctl.c1528 bcopy(posix_cred_get(my_cred)->cr_groups,
1529 ep->e_ucred.cr_groups, NGROUPS * sizeof (gid_t));
1588 bcopy(posix_cred_get(my_cred)->cr_groups,
1589 ep->e_ucred.cr_groups, NGROUPS * sizeof (gid_t));
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_subs.c2439 temp_pcred.cr_groups[i] = nxna.nxna_cred.cr_groups[i];
H A Dnfs_socket.c5991 temp_pcred.cr_groups[0] = group_id;
5998 nfsm_chain_get_32(error, nmreq, temp_pcred.cr_groups[i]);
6004 nfsrv_group_sort(&temp_pcred.cr_groups[0], ngroups);
H A Dnfs_vfsops.c4552 bcopy(pcred->cr_groups, temp_pcred.cr_groups, sizeof(temp_pcred.cr_groups));
H A Dnfs_gss.c2087 bcopy(cp->gss_svc_gids, temp_pcred.cr_groups,

Completed in 152 milliseconds