Searched refs:cr_groups (Results 1 - 12 of 12) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | ucred.h | 100 gid_t cr_groups[NGROUPS]; /* advisory group list */ member in struct:ucred 133 gid_t cr_groups[NGROUPS]; /* advisory group list */ member in struct:xucred 137 #define cr_gid cr_groups[0]
|
H A D | sysctl.h | 623 gid_t cr_groups[NGROUPS]; /* groups */ member in struct:_ucred
|
/macosx-10.5.8/xnu-1228.15.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]);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_credential.c | 1302 * Description: Set EGID by changing the first element of cr_groups for the 1330 gid_t old_egid = cred->cr_groups[0]; 1338 if (cred->cr_groups[i] == new_egid) { 1339 cred->cr_groups[i] = old_egid; 1374 cred->cr_groups[0] = new_egid; 2066 * EGID is cr_groups[0] as an implementation detail. 2082 if (gid == cred->cr_groups[i]) { 2240 gid = cred1->cr_groups[i]; 2412 return(kauth_cred_get()->cr_groups[0]); 2714 /* Caller *must* specify at least the egid in cr_groups[ 4280 gid_t cr_groups[NGROUPS]; /* advisory group list */ member in struct:debug_ucred [all...] |
H A D | kern_prot.c | 464 if ((error = copyout((caddr_t)cred->cr_groups, 1277 egid != my_cred->cr_groups[0] && /* allow no change of egid */ 1300 if (egid == KAUTH_UID_NONE && my_cred->cr_groups[0] != egid) { 1648 AUDIT_ARG(groupset, my_cred->cr_groups, ngrp); 2022 bcopy(cr->cr_groups, xcr->cr_groups, sizeof(xcr->cr_groups));
|
H A D | kern_sysctl.c | 1327 bcopy(my_cred->cr_groups, ep->e_ucred.cr_groups, NGROUPS*sizeof(gid_t)); 1408 bcopy(my_cred->cr_groups, ep->e_ucred.cr_groups, NGROUPS*sizeof(gid_t));
|
H A D | kern_audit.c | 1519 ar->k_ar.ar_subj_egid = safecred->cr_groups[0]; 2135 ar->k_ar.ar_arg_egid = my_cred->cr_groups[0];
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_subs.c | 1050 nfsm_chain_add_32(error, &nmreq, cred->cr_groups[0]); /* GID */ 1054 nfsm_chain_add_32(error, &nmreq, cred->cr_groups[i]); 2004 temp_cred.cr_groups[i] = nxna.nxna_cred.cr_groups[i]; 2090 if (cred->cr_groups[i] != cred2->cr_groups[i])
|
H A D | nfs_socket.c | 3111 temp_cred.cr_groups[0] = group_id; 3118 nfsm_chain_get_32(error, nmreq, temp_cred.cr_groups[i]); 3124 nfsrv_group_sort(&temp_cred.cr_groups[0], ngroups);
|
H A D | nfs_vfsops.c | 2226 bcopy(cred->cr_groups, temp_cred.cr_groups, sizeof(temp_cred.cr_groups));
|
H A D | nfs_gss.c | 1854 bcopy(cp->gss_svc_gids, temp_cred.cr_groups,
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 270 crgetgid(const cred_t *cr) { return cr->cr_groups[0]; }
|
Completed in 99 milliseconds