Home
last modified time | relevance | path

Searched refs:cr_gid (Results 1 – 18 of 18) sorted by relevance

/dragonfly/lib/libc/gen/
H A Dgetpeereid.c53 *egid = xuc.cr_gid; in getpeereid()
/dragonfly/sys/kern/
H A Dvfs_helper.c90 proc_gid = cred->cr_gid; in vop_helper_access()
268 (new_gid != *cur_gidp && !(cred->cr_gid == new_gid || in vop_helper_chown()
H A Dkern_exec.c485 ((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()
H A Dsys_socket.c215 ub->st_gid = so->so_cred->cr_gid; in soo_stat()
H A Dsysv_msg.c422 msqptr->msg_perm.cgid = cred->cr_gid; in sys_msgget()
423 msqptr->msg_perm.gid = cred->cr_gid; in sys_msgget()
H A Dsysv_sem.c690 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()
H A Dvfs_journal.c1333 jrecord_leaf(jrec, JLEAF_GID, &cred->cr_gid, sizeof(cred->cr_gid)); in jrecord_write_cred()
H A Dsysv_shm.c552 shmseg->shm_perm.cgid = shmseg->shm_perm.gid = cred->cr_gid; in shmget_allocate_segment()
H A Dkern_exit.c1103 if (p->p_ucred->cr_gid != (gid_t)id) { in kern_wait()
H A Dsys_pipe.c1068 ub->st_gid = fp->f_cred->cr_gid; in pipe_stat()
/dragonfly/sys/sys/
H A Ducred.h81 #define cr_gid cr_groups[0] macro
/dragonfly/sys/netproto/smb/
H A Dsmb_dev.c118 ap->a_cred->cr_uid, ap->a_cred->cr_gid, in nsmb_dev_open()
/dragonfly/sys/vfs/tmpfs/
H A Dtmpfs_vfsops.c115 gid_t root_gid = cred->cr_gid; in tmpfs_mount()
/dragonfly/sys/vfs/procfs/
H A Dprocfs_vnops.c606 vap->va_gid = procp->p_ucred->cr_gid; in procfs_getattr()
/dragonfly/sys/vfs/nfs/
H A Dnfs_socket.c2368 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()
H A Dnfs_vnops.c353 cred->cr_gid == cred->cr_rgid) { in nfs_access()
358 cred->cr_gid = cred->cr_rgid; in nfs_access()
/dragonfly/sys/vfs/ufs/
H A Dufs_vnops.c559 (gid != ip->i_gid && !(cred->cr_gid == gid || in ufs_chown()
/dragonfly/sys/vfs/ext2fs/
H A Dext2_vnops.c428 (gid != ip->i_gid && !(cred->cr_gid == gid || in ext2_chown()