/freebsd-12-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | cred.h | 49 #define crgetruid(cred) ((cred)->cr_ruid)
|
/freebsd-12-stable/sys/security/mac_seeotheruids/ |
H A D | mac_seeotheruids.c | 122 if (cr1->cr_ruid == cr2->cr_ruid)
|
/freebsd-12-stable/tools/regression/security/proc_to_proc/ |
H A D | scenario.c | 49 uid_t cr_euid, cr_ruid, cr_svuid; member in struct:cred 178 error = getresuid(&cred->cr_ruid, &cred->cr_euid, &cred->cr_svuid); 214 error = setresuid(cred->cr_ruid, cred->cr_euid, cred->cr_svuid); 232 assert(ruid == cred->cr_ruid); 250 cred->cr_ruid, cred->cr_svuid, cred->cr_issetugid);
|
/freebsd-12-stable/sys/kern/ |
H A D | kern_prot.c | 224 td->td_retval[0] = td->td_ucred->cr_ruid; 513 if (uid != oldcred->cr_ruid && /* allow setuid(getuid()) */ 539 if (uid != oldcred->cr_ruid) { 615 if (euid != oldcred->cr_ruid && /* allow seteuid(getuid()) */ 896 if (((ruid != (uid_t)-1 && ruid != oldcred->cr_ruid && 899 euid != oldcred->cr_ruid && euid != oldcred->cr_svuid)) && 907 if (ruid != (uid_t)-1 && oldcred->cr_ruid != ruid) { 911 if ((ruid != (uid_t)-1 || newcred->cr_uid != newcred->cr_ruid) && 1038 if (((ruid != (uid_t)-1 && ruid != oldcred->cr_ruid && 1041 (euid != (uid_t)-1 && euid != oldcred->cr_ruid [all...] |
H A D | kern_priv.c | 144 if (cred->cr_ruid == 0) {
|
H A D | kern_thr.c | 404 ksi.ksi_uid = td->td_ucred->cr_ruid; 452 ksi.ksi_uid = td->td_ucred->cr_ruid;
|
H A D | sys_procdesc.c | 558 sb->st_uid = pd->pd_proc->p_ucred->cr_ruid;
|
H A D | kern_acct.c | 422 acct.ac_uid = p->p_ucred->cr_ruid;
|
H A D | kern_sig.c | 169 (cr1)->cr_ruid == (cr2)->cr_ruid || \ 170 (cr1)->cr_uid == (cr2)->cr_ruid || \ 171 (cr1)->cr_ruid == (cr2)->cr_uid || \ 1796 ksi.ksi_uid = td->td_ucred->cr_ruid; 1864 ksi.ksi_uid = td->td_ucred->cr_ruid; 1912 ksi.ksi_uid = td->td_ucred->cr_ruid; 3216 p->p_ksi->ksi_uid = p->p_ucred->cr_ruid;
|
/freebsd-12-stable/sys/sys/ |
H A D | ucred.h | 55 uid_t cr_ruid; /* real user id */ member in struct:ucred
|
/freebsd-12-stable/sys/rpc/ |
H A D | svc_auth.c | 181 cr->cr_uid = cr->cr_ruid = cr->cr_svuid = xcr->cr_uid;
|
/freebsd-12-stable/sys/security/mac_bsdextended/ |
H A D | mac_bsdextended.c | 241 (cred->cr_ruid <= rule->mbr_subject.mbs_uid_max && 242 cred->cr_ruid >= rule->mbr_subject.mbs_uid_min) || 330 vap->va_uid == cred->cr_ruid || 408 " on %d:%d failed. \n", cred->cr_ruid,
|
/freebsd-12-stable/cddl/lib/libdtrace/ |
H A D | psinfo.d | 57 pr_uid = T->p_ucred->cr_ruid;
|
/freebsd-12-stable/sys/compat/cloudabi/ |
H A D | cloudabi_proc.c | 141 ksi.ksi_uid = td->td_ucred->cr_ruid;
|
/freebsd-12-stable/sys/fs/procfs/ |
H A D | procfs_status.c | 150 (u_long)cr->cr_ruid,
|
H A D | procfs_map.c | 224 cred ? "CH":"NCH", cred ? cred->cr_ruid : -1);
|
/freebsd-12-stable/sys/ufs/ufs/ |
H A D | ufs_vfsops.c | 113 id = td->td_ucred->cr_ruid;
|
/freebsd-12-stable/sys/fs/tmpfs/ |
H A D | tmpfs_vfsops.c | 380 if (mp->mnt_cred->cr_ruid != 0 || 383 if (mp->mnt_cred->cr_ruid != 0 || 386 if (mp->mnt_cred->cr_ruid != 0 ||
|
/freebsd-12-stable/sys/fs/unionfs/ |
H A D | union_vfsops.c | 174 if (mp->mnt_cred->cr_ruid == 0) { /* root only */ 226 uid = mp->mnt_cred->cr_ruid;
|
/freebsd-12-stable/sys/fs/fuse/ |
H A D | fuse_internal.h | 212 basecred->cr_uid == usercred->cr_ruid &&
|
/freebsd-12-stable/sys/security/mac_veriexec/ |
H A D | veriexec_fingerprint.c | 115 imgp->attr->va_gen, td->td_ucred->cr_ruid, imgp->proc->p_pid,
|
/freebsd-12-stable/sys/compat/linux/ |
H A D | linux_signal.c | 490 ksi.ksi_uid = td->td_proc->p_ucred->cr_ruid; 521 ksi.ksi_uid = td->td_proc->p_ucred->cr_ruid;
|
H A D | linux_uid16.c | 302 td->td_retval[0] = td->td_ucred->cr_ruid;
|
/freebsd-12-stable/sys/ddb/ |
H A D | db_ps.c | 142 cred != NULL ? cred->cr_ruid : 0);
|
/freebsd-12-stable/sys/security/audit/ |
H A D | audit.c | 282 ar->k_ar.ar_subj_ruid = cred->cr_ruid;
|