Searched refs:cr_groups (Results 1 - 11 of 11) sorted by relevance
/xnu-2422.115.4/bsd/sys/ |
H A D | ucred.h | 102 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 D | sysctl.h | 674 gid_t cr_groups[NGROUPS]; /* groups */ member in struct:_ucred
|
/xnu-2422.115.4/tools/ |
H A D | cred_dump_creds.c | 28 gid_t cr_groups[NGROUPS]; /* advisory group list */ member in struct:debug_ucred 98 printf("%d", credp->cr_groups[i]);
|
/xnu-2422.115.4/bsd/kern/ |
H A D | kern_credential.c | 1872 * Description: Set EGID by changing the first element of cr_groups for the 1909 if (pcred->cr_groups[i] == new_egid) { 1910 pcred->cr_groups[i] = old_egid; 1945 pcred->cr_groups[0] = new_egid; 3001 * EGID is cr_groups[0] as an implementation detail. 3016 if (gid == pcred->cr_groups[i]) { 3235 gid = pcred1->cr_groups[i]; 3755 /* Caller *must* specify at least the egid in cr_groups[0] */ 3788 bcopy(&pcred->cr_groups[0], &new_pcred->cr_groups[ 5460 gid_t cr_groups[NGROUPS]; /* advisory group list */ member in struct:debug_ucred [all...] |
H A D | kern_prot.c | 467 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); 2032 bcopy(pcr->cr_groups, xcr->cr_groups, sizeof(xcr->cr_groups));
|
H A D | kern_sysctl.c | 1535 bcopy(posix_cred_get(my_cred)->cr_groups, 1536 ep->e_ucred.cr_groups, NGROUPS * sizeof (gid_t)); 1595 bcopy(posix_cred_get(my_cred)->cr_groups, 1596 ep->e_ucred.cr_groups, NGROUPS * sizeof (gid_t));
|
/xnu-2422.115.4/bsd/dev/dtrace/scripts/ |
H A D | darwin.d | 190 pr_egid = P->p_ucred->cr_posix.cr_groups[0];
|
/xnu-2422.115.4/bsd/nfs/ |
H A D | nfs_subs.c | 2491 temp_pcred.cr_groups[i] = nxna.nxna_cred.cr_groups[i];
|
H A D | nfs_socket.c | 6125 temp_pcred.cr_groups[0] = group_id; 6132 nfsm_chain_get_32(error, nmreq, temp_pcred.cr_groups[i]); 6138 nfsrv_group_sort(&temp_pcred.cr_groups[0], ngroups);
|
H A D | nfs_vfsops.c | 4604 bcopy(pcred->cr_groups, temp_pcred.cr_groups, sizeof(temp_pcred.cr_groups));
|
H A D | nfs_gss.c | 2240 bcopy(cp->gss_svc_gids, temp_pcred.cr_groups,
|
Completed in 256 milliseconds