Home
last modified time | relevance | path

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

12

/freebsd/lib/libc/gen/
H A Dgetpeereid.c55 *egid = xuc.cr_gid; in getpeereid()
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dcred.h61 #define crgetgid(cr) ((cr)->cr_gid)
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Dcred.h48 #define crgetgid(cred) ((cred)->cr_gid)
/freebsd/sys/sys/
H A Ducred.h108 #define cr_gid cr_groups[0] macro
/freebsd/sys/security/mac_do/
H A Dmac_do.c414 if (r->from_type == RULE_GID && r->f_gid == cred->cr_gid) in rule_is_valid()
519 if (cred->cr_gid != r->f_gid) in check_setuid()
/freebsd/sys/kern/
H A Dkern_exec.c586 oldcred->cr_gid != attr.va_gid; in do_execve()
621 change_svgid(imgp->newcred, imgp->newcred->cr_gid); in do_execve()
636 oldcred->cr_svgid != oldcred->cr_gid) { in do_execve()
641 change_svgid(imgp->newcred, imgp->newcred->cr_gid); in do_execve()
860 oldcred->cr_gid == oldcred->cr_rgid) in do_execve()
H A Dsys_timerfd.c316 sb->st_gid = fp->f_cred->cr_gid; in timerfd_stat()
H A Dsys_socket.c328 ub->st_gid = so->so_cred->cr_gid; in soo_stat()
H A Dsysv_msg.c724 msqkptr->u.msg_perm.cgid = cred->cr_gid; in sys_msgget()
725 msqkptr->u.msg_perm.gid = cred->cr_gid; in sys_msgget()
H A Dsysv_sem.c1057 sema[semid].u.sem_perm.cgid = cred->cr_gid; in sys_semget()
1058 sema[semid].u.sem_perm.gid = cred->cr_gid; in sys_semget()
H A Duipc_sem.c314 ks->ks_gid = ucred->cr_gid; in ksem_alloc()
H A Dkern_exit.c1094 if (p->p_ucred->cr_gid != (gid_t)id) { in proc_to_reap()
H A Dsys_pipe.c1568 ub->st_gid = fp->f_cred->cr_gid; in pipe_stat()
H A Duipc_usrreq.c2802 sc->sc_egid = td->td_ucred->cr_gid; in unp_addsockcred()
2813 sc->sc_egid = td->td_ucred->cr_gid; in unp_addsockcred()
H A Dsysv_shm.c748 shmseg->u.shm_perm.cgid = shmseg->u.shm_perm.gid = cred->cr_gid; in shmget_allocate_segment()
H A Duipc_shm.c945 shmfd->shm_gid = ucred->cr_gid; in shm_alloc()
H A Duipc_mqueue.c460 node->mn_gid = cred->cr_gid; in mqfs_create_node()
H A Dkern_proc.c1662 if (p->p_ucred->cr_gid != (gid_t)name[0]) in sysctl_kern_proc_iterate()
/freebsd/sys/security/mac_portacl/
H A Dmac_portacl.c409 if (cred->cr_gid == rule->r_id) { in rules_check()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdsubs.c1626 (NFSVNO_ISSETGID(nvap) && nvap->na_gid != nd->nd_cred->cr_gid && in nfsrv_checkuidgid()
1685 if (nvap->na_gid == nd->nd_cred->cr_gid || in nfsrv_fixattr()
H A Dnfs_nfsdport.c3254 nd->nd_cred->cr_gid = credanon->cr_gid; in nfsd_excred()
4446 cred->cr_gid); in nfsrv_pnfscreate()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c1500 s_cr->cr_gid == cr->cr_gid && in dtrace_priv_proc_common_user()
1501 s_cr->cr_gid == cr->cr_rgid && in dtrace_priv_proc_common_user()
1502 s_cr->cr_gid == cr->cr_sgid) in dtrace_priv_proc_common_user()
1692 s_cr->cr_gid != cr->cr_gid || in dtrace_priv_probe()
1693 s_cr->cr_gid != cr->cr_rgid || in dtrace_priv_probe()
1694 s_cr->cr_gid != cr->cr_sgid || in dtrace_priv_probe()
3716 return ((uint64_t)p0.p_cred->cr_gid); in dtrace_dif_variable()
3729 return ((uint64_t)curthread->td_ucred->cr_gid); in dtrace_dif_variable()
7492 s_cr->cr_gid != cr->cr_gid ||
7493 s_cr->cr_gid != cr->cr_rgid ||
[all …]
/freebsd/sys/compat/linprocfs/
H A Dlinprocfs.c1135 p->p_ucred->cr_gid, in linprocfs_doprocstatus()
1138 p->p_ucred->cr_gid); in linprocfs_doprocstatus()
/freebsd/crypto/heimdal/lib/ipc/
H A Dserver.c552 c->unixrights.gid = peercred.cr_gid; in update_client_creds()
/freebsd/sys/compat/linux/
H A Dlinux_socket.c2306 lxu.gid = xu.cr_gid; in linux_getsockopt()

12