| /f-stack/freebsd/kern/ |
| H A D | kern_prot.c | 232 td->td_retval[0] = td->td_ucred->cr_ruid; in sys_getuid() 547 if (uid != oldcred->cr_ruid) { in sys_setuid() 1181 error1 = copyout(&cred->cr_ruid, in sys_getresuid() 1182 uap->ruid, sizeof(cred->cr_ruid)); in sys_getresuid() 1352 if (!see_other_uids && u1->cr_ruid != u2->cr_ruid) { in cr_canseeotheruids() 1550 if (cred->cr_ruid != proc->p_ucred->cr_ruid && in cr_cansignal() 1551 cred->cr_ruid != proc->p_ucred->cr_svuid && in cr_cansignal() 1552 cred->cr_uid != proc->p_ucred->cr_ruid && in cr_cansignal() 1630 if (td->td_ucred->cr_ruid != p->p_ucred->cr_ruid && in p_cansched() 1722 td->td_ucred->cr_uid == p->p_ucred->cr_ruid); in p_candebug() [all …]
|
| H A D | kern_priv.c | 221 if (cred->cr_ruid == 0) { in priv_check_cred()
|
| H A D | kern_thr.c | 401 ksi.ksi_uid = td->td_ucred->cr_ruid; in sys_thr_kill() 449 ksi.ksi_uid = td->td_ucred->cr_ruid; in sys_thr_kill2()
|
| H A D | kern_sig.c | 175 (cr1)->cr_ruid == (cr2)->cr_ruid || \ 176 (cr1)->cr_uid == (cr2)->cr_ruid || \ 177 (cr1)->cr_ruid == (cr2)->cr_uid || \ 1816 ksi.ksi_uid = td->td_ucred->cr_ruid; in kern_kill() 1884 ksi.ksi_uid = td->td_ucred->cr_ruid; in okillpg() 1932 ksi.ksi_uid = td->td_ucred->cr_ruid; in kern_sigqueue() 3336 p->p_ksi->ksi_uid = p->p_ucred->cr_ruid; in sigparent()
|
| H A D | sys_procdesc.c | 541 sb->st_uid = pd->pd_proc->p_ucred->cr_ruid; in procdesc_stat()
|
| H A D | kern_acct.c | 423 acct.ac_uid = p->p_ucred->cr_ruid; in acct_process()
|
| H A D | kern_procctl.c | 302 ksi.ksi_uid = td->td_ucred->cr_ruid; in reap_kill()
|
| H A D | uipc_usrreq.c | 2242 cmcred->cmcred_uid = td->td_ucred->cr_ruid; in unp_internalize() 2416 sc->sc_uid = td->td_ucred->cr_ruid; in unp_addsockcred() 2427 sc->sc_uid = td->td_ucred->cr_ruid; in unp_addsockcred()
|
| H A D | kern_fork.c | 913 td->td_ucred->cr_ruid, p1->p_pid); in fork1()
|
| H A D | kern_thread.c | 212 curthread->td_ucred->cr_ruid, curproc->p_pid); in thread_count_inc()
|
| /f-stack/freebsd/security/mac_seeotheruids/ |
| H A D | mac_seeotheruids.c | 123 if (cr1->cr_ruid == cr2->cr_ruid) in seeotheruids_check()
|
| /f-stack/freebsd/security/mac_bsdextended/ |
| H A D | mac_bsdextended.c | 242 (cred->cr_ruid <= rule->mbr_subject.mbs_uid_max && in ugidfw_rulecheck() 243 cred->cr_ruid >= rule->mbr_subject.mbs_uid_min) || in ugidfw_rulecheck() 331 vap->va_uid == cred->cr_ruid || in ugidfw_rulecheck() 408 " on %d:%d failed. \n", cred->cr_ruid, in ugidfw_rulecheck()
|
| /f-stack/tools/compat/include/sys/ |
| H A D | ucred.h | 53 uid_t cr_ruid; /* real user id */ member
|
| /f-stack/freebsd/sys/ |
| H A D | ucred.h | 69 uid_t cr_ruid; /* real user id */ member
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | cred.h | 56 #define crgetruid(cred) ((cred)->cr_ruid)
|
| /f-stack/freebsd/security/mac_veriexec/ |
| H A D | veriexec_fingerprint.c | 116 imgp->attr->va_gen, td->td_ucred->cr_ruid, imgp->proc->p_pid, in identify_error()
|
| /f-stack/freebsd/ddb/ |
| H A D | db_ps.c | 156 cred != NULL ? cred->cr_ruid : 0); in db_ps_proc()
|
| /f-stack/freebsd/security/audit/ |
| H A D | audit.c | 283 ar->k_ar.ar_subj_ruid = cred->cr_ruid; in audit_record_ctor()
|
| H A D | audit_arg.c | 415 ar->k_ar.ar_arg_ruid = cred->cr_ruid; in audit_arg_process()
|
| /f-stack/freebsd/arm64/linux/ |
| H A D | linux_sysvec.c | 179 AUXARGS_ENTRY(pos, AT_UID, imgp->proc->p_ucred->cr_ruid); in linux_copyout_auxargs()
|
| /f-stack/freebsd/amd64/linux/ |
| H A D | linux_sysvec.c | 276 AUXARGS_ENTRY(pos, AT_UID, imgp->proc->p_ucred->cr_ruid); in linux_copyout_auxargs()
|
| /f-stack/freebsd/i386/linux/ |
| H A D | linux_sysvec.c | 230 AUXARGS_ENTRY(pos, AT_UID, imgp->proc->p_ucred->cr_ruid); in linux_copyout_auxargs()
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | ip_compat.h | 101 # define p_uid td_ucred->cr_ruid
|
| H A D | ip_fil_freebsd.c | 282 # define p_uid td_ucred->cr_ruid
|
| /f-stack/freebsd/amd64/linux32/ |
| H A D | linux32_sysvec.c | 225 AUXARGS_ENTRY(pos, AT_UID, imgp->proc->p_ucred->cr_ruid); in linux_copyout_auxargs()
|