/freebsd/sys/security/mac_seeotheruids/ |
H A D | mac_seeotheruids.c | 111 if (cr1->cr_rgid == cr2->cr_rgid) in seeotheruids_check() 116 if (cr1->cr_rgid == specificgid || in seeotheruids_check()
|
/freebsd/sys/fs/fuse/ |
H A D | fuse_file.c | 254 fufh->gid == cred->cr_rgid && in fuse_filehandle_validrw() 266 fufh->gid == cred->cr_rgid && in fuse_filehandle_validrw() 290 fufh->gid == cred->cr_rgid && in fuse_filehandle_get() 324 fufh->gid == cred->cr_rgid && in fuse_filehandle_get_anyflags() 367 fufh->gid = cred->cr_rgid; in fuse_filehandle_init()
|
H A D | fuse_internal.h | 212 basecred->cr_groups[0] == usercred->cr_rgid && in fuse_match_cred()
|
/freebsd/sys/kern/ |
H A D | kern_prot.c | 268 td->td_retval[0] = td->td_ucred->cr_rgid; in sys_getgid() 722 if (oldcred->cr_rgid != gid) { in sys_setgid() 986 if (((rgid != (gid_t)-1 && rgid != oldcred->cr_rgid && in sys_setregid() 997 if (rgid != (gid_t)-1 && oldcred->cr_rgid != rgid) { in sys_setregid() 1156 if (rgid != (gid_t)-1 && oldcred->cr_rgid != rgid) { in sys_setresgid() 1218 error1 = copyout(&cred->cr_rgid, in sys_getresgid() 1219 uap->rgid, sizeof(cred->cr_rgid)); in sys_getresgid() 1326 if (gid == cred->cr_rgid) in realgroupmember() 1412 if (realgroupmember(u1->cr_rgid, u2)) in cr_canseeothergids() 1758 groupmember(p->p_ucred->cr_rgid, td->td_ucred) && in p_candebug() [all …]
|
H A D | kern_acct.c | 409 acct.ac_gid = p->p_ucred->cr_rgid; in acct_process()
|
H A D | sys_procdesc.c | 538 sb->st_gid = pd->pd_proc->p_ucred->cr_rgid; in procdesc_stat()
|
H A D | uipc_usrreq.c | 2633 cmcred->cmcred_gid = td->td_ucred->cr_rgid; in unp_internalize() 2801 sc->sc_gid = td->td_ucred->cr_rgid; in unp_addsockcred() 2812 sc->sc_gid = td->td_ucred->cr_rgid; in unp_addsockcred()
|
H A D | kern_exec.c | 860 oldcred->cr_gid == oldcred->cr_rgid) in do_execve()
|
H A D | kern_proc.c | 1117 kp->ki_rgid = cred->cr_rgid; in fill_kinfo_proc_only() 1674 if (p->p_ucred->cr_rgid != (gid_t)name[0]) in sysctl_kern_proc_iterate()
|
/freebsd/sys/rpc/ |
H A D | svc_auth.c | 193 cr->cr_rgid = cr->cr_svgid = xprt->xp_gidp[0]; in svc_getcred() 206 cr->cr_rgid = cr->cr_svgid = cr->cr_groups[0]; in svc_getcred()
|
/freebsd/sys/security/mac_bsdextended/ |
H A D | mac_bsdextended.c | 251 match = ((cred->cr_rgid <= rule->mbr_subject.mbs_gid_max && in ugidfw_rulecheck() 252 cred->cr_rgid >= rule->mbr_subject.mbs_gid_min) || in ugidfw_rulecheck() 339 vap->va_gid == cred->cr_rgid || in ugidfw_rulecheck() 407 cred->cr_rgid, acc_mode, vap->va_uid, in ugidfw_rulecheck()
|
/freebsd/cddl/lib/libdtrace/ |
H A D | psinfo.d | 57 pr_gid = T->p_ucred->cr_rgid;
|
/freebsd/sys/ufs/ufs/ |
H A D | ufs_vfsops.c | 101 id = td->td_ucred->cr_rgid; in ufs_quotactl()
|
/freebsd/sys/sys/ |
H A D | ucred.h | 70 gid_t cr_rgid; /* real group id */ member
|
/freebsd/sys/fs/procfs/ |
H A D | procfs_status.c | 147 (u_long)cr->cr_rgid); in procfs_doprocstatus()
|
/freebsd/sys/compat/linux/ |
H A D | linux_uid16.c | 198 td->td_retval[0] = td->td_ucred->cr_rgid; in linux_getgid16()
|
H A D | linux_elf.c | 524 AUXARGS_ENTRY(pos, AT_GID, imgp->proc->p_ucred->cr_rgid); in __linuxN()
|
/freebsd/sys/security/audit/ |
H A D | audit.c | 281 ar->k_ar.ar_subj_rgid = cred->cr_rgid; in audit_record_ctor()
|
H A D | audit_arg.c | 413 ar->k_ar.ar_arg_rgid = cred->cr_rgid; in audit_arg_process()
|
/freebsd/sys/fs/unionfs/ |
H A D | union_vfsops.c | 221 gid = mp->mnt_cred->cr_rgid; in unionfs_domount()
|
/freebsd/lib/libkvm/ |
H A D | kvm_proc.c | 147 kp->ki_rgid = ucred.cr_rgid; in kvm_proclist()
|
/freebsd/sys/fs/pseudofs/ |
H A D | pseudofs_vnops.c | 260 vap->va_gid = proc->p_ucred->cr_rgid; in pfs_getattr()
|
/freebsd/sys/rpc/rpcsec_gss/ |
H A D | svc_rpcsec_gss.c | 539 cr->cr_rgid = cr->cr_svgid = uc->gid; in rpc_gss_svc_getcred()
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdsocket.c | 1431 cr->cr_rgid = cr->cr_svgid = cr->cr_groups[0]; in nfsrv_createrootcred()
|
/freebsd/sys/compat/linprocfs/ |
H A D | linprocfs.c | 1134 sbuf_printf(sb, "Gid:\t%d\t%d\t%d\t%d\n", p->p_ucred->cr_rgid, in linprocfs_doprocstatus()
|