Home
last modified time | relevance | path

Searched refs:cr_rgid (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/sys/security/mac_seeotheruids/
H A Dmac_seeotheruids.c111 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 Dfuse_file.c254 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 Dfuse_internal.h212 basecred->cr_groups[0] == usercred->cr_rgid && in fuse_match_cred()
/freebsd/sys/kern/
H A Dkern_prot.c268 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 Dkern_acct.c409 acct.ac_gid = p->p_ucred->cr_rgid; in acct_process()
H A Dsys_procdesc.c538 sb->st_gid = pd->pd_proc->p_ucred->cr_rgid; in procdesc_stat()
H A Duipc_usrreq.c2633 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 Dkern_exec.c860 oldcred->cr_gid == oldcred->cr_rgid) in do_execve()
H A Dkern_proc.c1117 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 Dsvc_auth.c193 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 Dmac_bsdextended.c251 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 Dpsinfo.d57 pr_gid = T->p_ucred->cr_rgid;
/freebsd/sys/ufs/ufs/
H A Dufs_vfsops.c101 id = td->td_ucred->cr_rgid; in ufs_quotactl()
/freebsd/sys/sys/
H A Ducred.h70 gid_t cr_rgid; /* real group id */ member
/freebsd/sys/fs/procfs/
H A Dprocfs_status.c147 (u_long)cr->cr_rgid); in procfs_doprocstatus()
/freebsd/sys/compat/linux/
H A Dlinux_uid16.c198 td->td_retval[0] = td->td_ucred->cr_rgid; in linux_getgid16()
H A Dlinux_elf.c524 AUXARGS_ENTRY(pos, AT_GID, imgp->proc->p_ucred->cr_rgid); in __linuxN()
/freebsd/sys/security/audit/
H A Daudit.c281 ar->k_ar.ar_subj_rgid = cred->cr_rgid; in audit_record_ctor()
H A Daudit_arg.c413 ar->k_ar.ar_arg_rgid = cred->cr_rgid; in audit_arg_process()
/freebsd/sys/fs/unionfs/
H A Dunion_vfsops.c221 gid = mp->mnt_cred->cr_rgid; in unionfs_domount()
/freebsd/lib/libkvm/
H A Dkvm_proc.c147 kp->ki_rgid = ucred.cr_rgid; in kvm_proclist()
/freebsd/sys/fs/pseudofs/
H A Dpseudofs_vnops.c260 vap->va_gid = proc->p_ucred->cr_rgid; in pfs_getattr()
/freebsd/sys/rpc/rpcsec_gss/
H A Dsvc_rpcsec_gss.c539 cr->cr_rgid = cr->cr_svgid = uc->gid; in rpc_gss_svc_getcred()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdsocket.c1431 cr->cr_rgid = cr->cr_svgid = cr->cr_groups[0]; in nfsrv_createrootcred()
/freebsd/sys/compat/linprocfs/
H A Dlinprocfs.c1134 sbuf_printf(sb, "Gid:\t%d\t%d\t%d\t%d\n", p->p_ucred->cr_rgid, in linprocfs_doprocstatus()

12