/freebsd/sys/rpc/ |
H A D | svc_auth.c | 195 cr->cr_rgid = cr->cr_svgid = cr->cr_gid; in svc_getcred() 210 cr->cr_rgid = cr->cr_svgid = cr->cr_gid; in svc_getcred()
|
/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 | 124 #define cr_gid cr_groups[0] macro
|
/freebsd/sys/kern/ |
H A D | kern_exec.c | 595 oldcred->cr_gid != attr.va_gid; in do_execve() 630 change_svgid(imgp->newcred, imgp->newcred->cr_gid); in do_execve() 645 oldcred->cr_svgid != oldcred->cr_gid) { in do_execve() 650 change_svgid(imgp->newcred, imgp->newcred->cr_gid); in do_execve() 869 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 | 329 ub->st_gid = so->so_cred->cr_gid; in soo_stat()
|
H A D | sysv_msg.c | 723 msqkptr->u.msg_perm.cgid = cred->cr_gid; in sys_msgget() 724 msqkptr->u.msg_perm.gid = cred->cr_gid; in sys_msgget()
|
H A D | sysv_sem.c | 1056 sema[semid].u.sem_perm.cgid = cred->cr_gid; in sys_semget() 1057 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 | 1090 if (p->p_ucred->cr_gid != (gid_t)id) { in proc_to_reap()
|
H A D | uipc_usrreq.c | 2826 sc->sc_egid = td->td_ucred->cr_gid; in unp_addsockcred() 2837 sc->sc_egid = td->td_ucred->cr_gid; in unp_addsockcred()
|
H A D | sys_pipe.c | 1607 ub->st_gid = fp->f_cred->cr_gid; in pipe_stat()
|
H A D | sysv_shm.c | 753 shmseg->u.shm_perm.cgid = shmseg->u.shm_perm.gid = cred->cr_gid; in shmget_allocate_segment()
|
H A D | uipc_shm.c | 920 shmfd->shm_gid = ucred->cr_gid; in shm_alloc()
|
H A D | kern_prot.c | 782 new_cred->cr_gid; in kern_setcred()
|
H A D | uipc_mqueue.c | 460 node->mn_gid = cred->cr_gid; in mqfs_create_node()
|
/freebsd/sys/security/mac_portacl/ |
H A D | mac_portacl.c | 407 if (cred->cr_gid == rule->r_id) { in rules_check()
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | dtrace.c | 1501 s_cr->cr_gid == cr->cr_gid && in dtrace_priv_proc_common_user() 1502 s_cr->cr_gid == cr->cr_rgid && in dtrace_priv_proc_common_user() 1503 s_cr->cr_gid == cr->cr_sgid) in dtrace_priv_proc_common_user() 1693 s_cr->cr_gid != cr->cr_gid || in dtrace_priv_probe() 1694 s_cr->cr_gid != cr->cr_rgid || in dtrace_priv_probe() 1695 s_cr->cr_gid != cr->cr_sgid || in dtrace_priv_probe() 3717 return ((uint64_t)p0.p_cred->cr_gid); in dtrace_dif_variable() 3728 return ((uint64_t)curthread->t_procp->p_cred->cr_gid); in dtrace_dif_variable() 3730 return ((uint64_t)curthread->td_ucred->cr_gid); in dtrace_dif_variable() 7494 s_cr->cr_gid != cr->cr_gid || [all …]
|
/freebsd/sys/compat/linprocfs/ |
H A D | linprocfs.c | 1131 p->p_ucred->cr_gid, in linprocfs_doprocstatus() 1134 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/security/mac_do/ |
H A D | mac_do.c | 1824 error = rule_grant_primary_group(rule, old_cred, new_cred->cr_gid); in rule_grant_primary_groups()
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdsocket.c | 1429 cr->cr_rgid = cr->cr_svgid = cr->cr_gid; in nfsrv_createrootcred()
|
/freebsd/sys/compat/linux/ |
H A D | linux_socket.c | 2307 lxu.gid = xu.cr_gid; in linux_getsockopt()
|