Searched refs:cr_rgid (Results 1 – 18 of 18) sorted by relevance
| /f-stack/freebsd/security/mac_seeotheruids/ |
| H A D | mac_seeotheruids.c | 113 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 D | kern_prot.c | 263 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 D | sys_procdesc.c | 542 sb->st_gid = pd->pd_proc->p_ucred->cr_rgid; in procdesc_stat()
|
| H A D | kern_acct.c | 424 acct.ac_gid = p->p_ucred->cr_rgid; in acct_process()
|
| H A D | uipc_usrreq.c | 2243 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 D | kern_exec.c | 810 oldcred->cr_gid == oldcred->cr_rgid) in do_execve()
|
| H A D | kern_proc.c | 1085 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 D | vfs_syscalls.c | 2092 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 D | mac_bsdextended.c | 253 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 D | ucred.h | 56 gid_t cr_rgid; /* real group id */ member
|
| /f-stack/freebsd/sys/ |
| H A D | ucred.h | 72 gid_t cr_rgid; /* real group id */ member
|
| /f-stack/freebsd/security/audit/ |
| H A D | audit.c | 284 ar->k_ar.ar_subj_rgid = cred->cr_rgid; in audit_record_ctor()
|
| H A D | audit_arg.c | 416 ar->k_ar.ar_arg_rgid = cred->cr_rgid; in audit_arg_process()
|
| /f-stack/freebsd/arm64/linux/ |
| H A D | linux_sysvec.c | 181 AUXARGS_ENTRY(pos, AT_GID, imgp->proc->p_ucred->cr_rgid); in linux_copyout_auxargs()
|
| /f-stack/freebsd/amd64/linux/ |
| H A D | linux_sysvec.c | 278 AUXARGS_ENTRY(pos, AT_GID, imgp->proc->p_ucred->cr_rgid); in linux_copyout_auxargs()
|
| /f-stack/freebsd/i386/linux/ |
| H A D | linux_sysvec.c | 232 AUXARGS_ENTRY(pos, AT_GID, imgp->proc->p_ucred->cr_rgid); in linux_copyout_auxargs()
|
| /f-stack/freebsd/amd64/linux32/ |
| H A D | linux32_sysvec.c | 227 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 D | zfs_vfsops.c | 290 id = td->td_ucred->cr_rgid; in zfs_quotactl()
|