Searched refs:cr_gid (Results 1 – 18 of 18) sorted by relevance
53 *egid = xuc.cr_gid; in getpeereid()
90 proc_gid = cred->cr_gid; in vop_helper_access()268 (new_gid != *cur_gidp && !(cred->cr_gid == new_gid || in vop_helper_chown()
485 ((lva.va_mode & VSGID) && p->p_ucred->cr_gid != lva.va_gid)) && in kern_execve()518 p->p_ucred->cr_gid = lva.va_gid; in kern_execve()524 p->p_ucred->cr_gid == p->p_ucred->cr_rgid) in kern_execve()532 p->p_ucred->cr_svgid != p->p_ucred->cr_gid) { in kern_execve()535 p->p_ucred->cr_svgid = p->p_ucred->cr_gid; in kern_execve()
215 ub->st_gid = so->so_cred->cr_gid; in soo_stat()
422 msqptr->msg_perm.cgid = cred->cr_gid; in sys_msgget()423 msqptr->msg_perm.gid = cred->cr_gid; in sys_msgget()
690 sema[semid].ds.sem_perm.cgid = cred->cr_gid; in sys_semget()691 sema[semid].ds.sem_perm.gid = cred->cr_gid; in sys_semget()
1333 jrecord_leaf(jrec, JLEAF_GID, &cred->cr_gid, sizeof(cred->cr_gid)); in jrecord_write_cred()
552 shmseg->shm_perm.cgid = shmseg->shm_perm.gid = cred->cr_gid; in shmget_allocate_segment()
1103 if (p->p_ucred->cr_gid != (gid_t)id) { in kern_wait()
1068 ub->st_gid = fp->f_cred->cr_gid; in pipe_stat()
81 #define cr_gid cr_groups[0] macro
118 ap->a_cred->cr_uid, ap->a_cred->cr_gid, in nsmb_dev_open()
115 gid_t root_gid = cred->cr_gid; in tmpfs_mount()
606 vap->va_gid = procp->p_ucred->cr_gid; in procfs_getattr()
2368 nd->nd_cr.cr_gid = fxdr_unsigned(gid_t, *tl++); in nfs_getreq()2369 nd->nd_cr.cr_rgid = nd->nd_cr.cr_svgid = nd->nd_cr.cr_gid; in nfs_getreq()
353 cred->cr_gid == cred->cr_rgid) { in nfs_access()358 cred->cr_gid = cred->cr_rgid; in nfs_access()
559 (gid != ip->i_gid && !(cred->cr_gid == gid || in ufs_chown()
428 (gid != ip->i_gid && !(cred->cr_gid == gid || in ext2_chown()