/freebsd/lib/libc/gen/ |
H A D | getpeereid.c | 55 *egid = xuc.cr_gid; in getpeereid()
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | cred.h | 61 #define crgetgid(cr) ((cr)->cr_gid)
|
/freebsd/sys/cddl/compat/opensolaris/sys/ |
H A D | cred.h | 48 #define crgetgid(cred) ((cred)->cr_gid)
|
/freebsd/sys/sys/ |
H A D | ucred.h | 108 #define cr_gid cr_groups[0] macro
|
/freebsd/sys/security/mac_do/ |
H A D | mac_do.c | 414 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 D | kern_exec.c | 586 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 D | sys_timerfd.c | 316 sb->st_gid = fp->f_cred->cr_gid; in timerfd_stat()
|
H A D | sys_socket.c | 328 ub->st_gid = so->so_cred->cr_gid; in soo_stat()
|
H A D | sysv_msg.c | 724 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 D | sysv_sem.c | 1057 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 D | uipc_sem.c | 314 ks->ks_gid = ucred->cr_gid; in ksem_alloc()
|
H A D | kern_exit.c | 1094 if (p->p_ucred->cr_gid != (gid_t)id) { in proc_to_reap()
|
H A D | sys_pipe.c | 1568 ub->st_gid = fp->f_cred->cr_gid; in pipe_stat()
|
H A D | uipc_usrreq.c | 2802 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 D | sysv_shm.c | 748 shmseg->u.shm_perm.cgid = shmseg->u.shm_perm.gid = cred->cr_gid; in shmget_allocate_segment()
|
H A D | uipc_shm.c | 945 shmfd->shm_gid = ucred->cr_gid; in shm_alloc()
|
H A D | uipc_mqueue.c | 460 node->mn_gid = cred->cr_gid; in mqfs_create_node()
|
H A D | kern_proc.c | 1662 if (p->p_ucred->cr_gid != (gid_t)name[0]) in sysctl_kern_proc_iterate()
|
/freebsd/sys/security/mac_portacl/ |
H A D | mac_portacl.c | 409 if (cred->cr_gid == rule->r_id) { in rules_check()
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdsubs.c | 1626 (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 D | nfs_nfsdport.c | 3254 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 D | dtrace.c | 1500 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 D | linprocfs.c | 1135 p->p_ucred->cr_gid, in linprocfs_doprocstatus() 1138 p->p_ucred->cr_gid); in linprocfs_doprocstatus()
|
/freebsd/crypto/heimdal/lib/ipc/ |
H A D | server.c | 552 c->unixrights.gid = peercred.cr_gid; in update_client_creds()
|
/freebsd/sys/compat/linux/ |
H A D | linux_socket.c | 2306 lxu.gid = xu.cr_gid; in linux_getsockopt()
|