Home
last modified time | relevance | path

Searched refs:cr_ruid (Results 1 – 25 of 36) sorted by relevance

12

/f-stack/freebsd/kern/
H A Dkern_prot.c232 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 Dkern_priv.c221 if (cred->cr_ruid == 0) { in priv_check_cred()
H A Dkern_thr.c401 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 Dkern_sig.c175 (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 Dsys_procdesc.c541 sb->st_uid = pd->pd_proc->p_ucred->cr_ruid; in procdesc_stat()
H A Dkern_acct.c423 acct.ac_uid = p->p_ucred->cr_ruid; in acct_process()
H A Dkern_procctl.c302 ksi.ksi_uid = td->td_ucred->cr_ruid; in reap_kill()
H A Duipc_usrreq.c2242 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 Dkern_fork.c913 td->td_ucred->cr_ruid, p1->p_pid); in fork1()
H A Dkern_thread.c212 curthread->td_ucred->cr_ruid, curproc->p_pid); in thread_count_inc()
/f-stack/freebsd/security/mac_seeotheruids/
H A Dmac_seeotheruids.c123 if (cr1->cr_ruid == cr2->cr_ruid) in seeotheruids_check()
/f-stack/freebsd/security/mac_bsdextended/
H A Dmac_bsdextended.c242 (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 Ducred.h53 uid_t cr_ruid; /* real user id */ member
/f-stack/freebsd/sys/
H A Ducred.h69 uid_t cr_ruid; /* real user id */ member
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dcred.h56 #define crgetruid(cred) ((cred)->cr_ruid)
/f-stack/freebsd/security/mac_veriexec/
H A Dveriexec_fingerprint.c116 imgp->attr->va_gen, td->td_ucred->cr_ruid, imgp->proc->p_pid, in identify_error()
/f-stack/freebsd/ddb/
H A Ddb_ps.c156 cred != NULL ? cred->cr_ruid : 0); in db_ps_proc()
/f-stack/freebsd/security/audit/
H A Daudit.c283 ar->k_ar.ar_subj_ruid = cred->cr_ruid; in audit_record_ctor()
H A Daudit_arg.c415 ar->k_ar.ar_arg_ruid = cred->cr_ruid; in audit_arg_process()
/f-stack/freebsd/arm64/linux/
H A Dlinux_sysvec.c179 AUXARGS_ENTRY(pos, AT_UID, imgp->proc->p_ucred->cr_ruid); in linux_copyout_auxargs()
/f-stack/freebsd/amd64/linux/
H A Dlinux_sysvec.c276 AUXARGS_ENTRY(pos, AT_UID, imgp->proc->p_ucred->cr_ruid); in linux_copyout_auxargs()
/f-stack/freebsd/i386/linux/
H A Dlinux_sysvec.c230 AUXARGS_ENTRY(pos, AT_UID, imgp->proc->p_ucred->cr_ruid); in linux_copyout_auxargs()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_compat.h101 # define p_uid td_ucred->cr_ruid
H A Dip_fil_freebsd.c282 # define p_uid td_ucred->cr_ruid
/f-stack/freebsd/amd64/linux32/
H A Dlinux32_sysvec.c225 AUXARGS_ENTRY(pos, AT_UID, imgp->proc->p_ucred->cr_ruid); in linux_copyout_auxargs()

12