Home
last modified time | relevance | path

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

/f-stack/freebsd/security/mac_seeotheruids/
H A Dmac_seeotheruids.c113 if (cr1->cr_rgid == cr2->cr_rgid) in seeotheruids_check()
118 if (cr1->cr_rgid == specificgid || in seeotheruids_check()
/f-stack/freebsd/kern/
H A Dkern_prot.c263 td->td_retval[0] = td->td_ucred->cr_rgid; in sys_getgid()
711 if (oldcred->cr_rgid != gid) { in sys_setgid()
976 if (((rgid != (gid_t)-1 && rgid != oldcred->cr_rgid && in sys_setregid()
987 if (rgid != (gid_t)-1 && oldcred->cr_rgid != rgid) { in sys_setregid()
1130 if (((rgid != (gid_t)-1 && rgid != oldcred->cr_rgid && in sys_setresgid()
1133 (egid != (gid_t)-1 && egid != oldcred->cr_rgid && in sys_setresgid()
1146 if (rgid != (gid_t)-1 && oldcred->cr_rgid != rgid) { in sys_setresgid()
1208 error1 = copyout(&cred->cr_rgid, in sys_getresgid()
1209 uap->rgid, sizeof(cred->cr_rgid)); in sys_getresgid()
1713 groupmember(p->p_ucred->cr_rgid, td->td_ucred) && in p_candebug()
[all …]
H A Dsys_procdesc.c542 sb->st_gid = pd->pd_proc->p_ucred->cr_rgid; in procdesc_stat()
H A Dkern_acct.c424 acct.ac_gid = p->p_ucred->cr_rgid; in acct_process()
H A Duipc_usrreq.c2243 cmcred->cmcred_gid = td->td_ucred->cr_rgid; in unp_internalize()
2418 sc->sc_gid = td->td_ucred->cr_rgid; in unp_addsockcred()
2429 sc->sc_gid = td->td_ucred->cr_rgid; in unp_addsockcred()
H A Dkern_exec.c810 oldcred->cr_gid == oldcred->cr_rgid) in do_execve()
H A Dkern_proc.c1085 kp->ki_rgid = cred->cr_rgid; in fill_kinfo_proc_only()
1642 if (p->p_ucred->cr_rgid != (gid_t)name[0]) in sysctl_kern_proc_iterate()
H A Dvfs_syscalls.c2092 cred->cr_rgid != cred->cr_groups[0]))) { in kern_accessat()
2095 usecred->cr_groups[0] = cred->cr_rgid; in kern_accessat()
/f-stack/freebsd/security/mac_bsdextended/
H A Dmac_bsdextended.c253 match = ((cred->cr_rgid <= rule->mbr_subject.mbs_gid_max && in ugidfw_rulecheck()
254 cred->cr_rgid >= rule->mbr_subject.mbs_gid_min) || in ugidfw_rulecheck()
341 vap->va_gid == cred->cr_rgid || in ugidfw_rulecheck()
409 cred->cr_rgid, acc_mode, vap->va_uid, in ugidfw_rulecheck()
/f-stack/tools/compat/include/sys/
H A Ducred.h56 gid_t cr_rgid; /* real group id */ member
/f-stack/freebsd/sys/
H A Ducred.h72 gid_t cr_rgid; /* real group id */ member
/f-stack/freebsd/security/audit/
H A Daudit.c284 ar->k_ar.ar_subj_rgid = cred->cr_rgid; in audit_record_ctor()
H A Daudit_arg.c416 ar->k_ar.ar_arg_rgid = cred->cr_rgid; in audit_arg_process()
/f-stack/freebsd/arm64/linux/
H A Dlinux_sysvec.c181 AUXARGS_ENTRY(pos, AT_GID, imgp->proc->p_ucred->cr_rgid); in linux_copyout_auxargs()
/f-stack/freebsd/amd64/linux/
H A Dlinux_sysvec.c278 AUXARGS_ENTRY(pos, AT_GID, imgp->proc->p_ucred->cr_rgid); in linux_copyout_auxargs()
/f-stack/freebsd/i386/linux/
H A Dlinux_sysvec.c232 AUXARGS_ENTRY(pos, AT_GID, imgp->proc->p_ucred->cr_rgid); in linux_copyout_auxargs()
/f-stack/freebsd/amd64/linux32/
H A Dlinux32_sysvec.c227 AUXARGS_ENTRY(pos, AT_GID, imgp->proc->p_ucred->cr_rgid); in linux_copyout_auxargs()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c290 id = td->td_ucred->cr_rgid; in zfs_quotactl()