Home
last modified time | relevance | path

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

12

/freebsd/sys/rpc/
H A Dsvc_auth.c195 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 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.h124 #define cr_gid cr_groups[0] macro
/freebsd/sys/kern/
H A Dkern_exec.c595 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 Dsys_timerfd.c316 sb->st_gid = fp->f_cred->cr_gid; in timerfd_stat()
H A Dsys_socket.c329 ub->st_gid = so->so_cred->cr_gid; in soo_stat()
H A Dsysv_msg.c723 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 Dsysv_sem.c1056 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 Duipc_sem.c314 ks->ks_gid = ucred->cr_gid; in ksem_alloc()
H A Dkern_exit.c1090 if (p->p_ucred->cr_gid != (gid_t)id) { in proc_to_reap()
H A Duipc_usrreq.c2826 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 Dsys_pipe.c1607 ub->st_gid = fp->f_cred->cr_gid; in pipe_stat()
H A Dsysv_shm.c753 shmseg->u.shm_perm.cgid = shmseg->u.shm_perm.gid = cred->cr_gid; in shmget_allocate_segment()
H A Duipc_shm.c920 shmfd->shm_gid = ucred->cr_gid; in shm_alloc()
H A Dkern_prot.c782 new_cred->cr_gid; in kern_setcred()
H A Duipc_mqueue.c460 node->mn_gid = cred->cr_gid; in mqfs_create_node()
/freebsd/sys/security/mac_portacl/
H A Dmac_portacl.c407 if (cred->cr_gid == rule->r_id) { in rules_check()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c1501 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 Dlinprocfs.c1131 p->p_ucred->cr_gid, in linprocfs_doprocstatus()
1134 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/security/mac_do/
H A Dmac_do.c1824 error = rule_grant_primary_group(rule, old_cred, new_cred->cr_gid); in rule_grant_primary_groups()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdsocket.c1429 cr->cr_rgid = cr->cr_svgid = cr->cr_gid; in nfsrv_createrootcred()
/freebsd/sys/compat/linux/
H A Dlinux_socket.c2307 lxu.gid = xu.cr_gid; in linux_getsockopt()

12