Searched refs:cr_ruid (Results 1 - 25 of 54) sorted by relevance

123

/freebsd-12-stable/sys/cddl/compat/opensolaris/sys/
H A Dcred.h49 #define crgetruid(cred) ((cred)->cr_ruid)
/freebsd-12-stable/sys/security/mac_seeotheruids/
H A Dmac_seeotheruids.c122 if (cr1->cr_ruid == cr2->cr_ruid)
/freebsd-12-stable/tools/regression/security/proc_to_proc/
H A Dscenario.c49 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 Dkern_prot.c224 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 Dkern_priv.c144 if (cred->cr_ruid == 0) {
H A Dkern_thr.c404 ksi.ksi_uid = td->td_ucred->cr_ruid;
452 ksi.ksi_uid = td->td_ucred->cr_ruid;
H A Dsys_procdesc.c558 sb->st_uid = pd->pd_proc->p_ucred->cr_ruid;
H A Dkern_acct.c422 acct.ac_uid = p->p_ucred->cr_ruid;
H A Dkern_sig.c169 (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 Ducred.h55 uid_t cr_ruid; /* real user id */ member in struct:ucred
/freebsd-12-stable/sys/rpc/
H A Dsvc_auth.c181 cr->cr_uid = cr->cr_ruid = cr->cr_svuid = xcr->cr_uid;
/freebsd-12-stable/sys/security/mac_bsdextended/
H A Dmac_bsdextended.c241 (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 Dpsinfo.d57 pr_uid = T->p_ucred->cr_ruid;
/freebsd-12-stable/sys/compat/cloudabi/
H A Dcloudabi_proc.c141 ksi.ksi_uid = td->td_ucred->cr_ruid;
/freebsd-12-stable/sys/fs/procfs/
H A Dprocfs_status.c150 (u_long)cr->cr_ruid,
H A Dprocfs_map.c224 cred ? "CH":"NCH", cred ? cred->cr_ruid : -1);
/freebsd-12-stable/sys/ufs/ufs/
H A Dufs_vfsops.c113 id = td->td_ucred->cr_ruid;
/freebsd-12-stable/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c380 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 Dunion_vfsops.c174 if (mp->mnt_cred->cr_ruid == 0) { /* root only */
226 uid = mp->mnt_cred->cr_ruid;
/freebsd-12-stable/sys/fs/fuse/
H A Dfuse_internal.h212 basecred->cr_uid == usercred->cr_ruid &&
/freebsd-12-stable/sys/security/mac_veriexec/
H A Dveriexec_fingerprint.c115 imgp->attr->va_gen, td->td_ucred->cr_ruid, imgp->proc->p_pid,
/freebsd-12-stable/sys/compat/linux/
H A Dlinux_signal.c490 ksi.ksi_uid = td->td_proc->p_ucred->cr_ruid;
521 ksi.ksi_uid = td->td_proc->p_ucred->cr_ruid;
H A Dlinux_uid16.c302 td->td_retval[0] = td->td_ucred->cr_ruid;
/freebsd-12-stable/sys/ddb/
H A Ddb_ps.c142 cred != NULL ? cred->cr_ruid : 0);
/freebsd-12-stable/sys/security/audit/
H A Daudit.c282 ar->k_ar.ar_subj_ruid = cred->cr_ruid;

Completed in 158 milliseconds

123