Searched refs:cr_ruid (Results 1 – 13 of 13) sorted by relevance
83 if ((uid == cr->cr_ruid || uid == cr->cr_suid) && in setuid()100 if (!uidchge && uid != cr->cr_ruid) { in setuid()126 cr->cr_ruid != uid || in setuid()129 oldruid = cr->cr_ruid; in setuid()132 newcr->cr_ruid = uid; in setuid()183 r.r_val1 = cr->cr_ruid; in getuid()220 if (uid == cr->cr_ruid || uid == cr->cr_uid || uid == cr->cr_suid || in seteuid()302 if (ruid != -1 && ruid != cr->cr_ruid && ruid != cr->cr_uid && in setreuid()310 euid != cr->cr_ruid && euid != cr->cr_uid && in setreuid()322 if (!uidchge && ruid != -1 && cr->cr_ruid != ruid) { in setreuid()[all …]
80 (cr->cr_uid == cr->cr_ruid && cr->cr_gid == cr->cr_rgid); in caccess()86 tmpcr->cr_uid = cr->cr_ruid; in caccess()88 tmpcr->cr_ruid = cr->cr_uid; in caccess()
168 cr->cr_uid != 0 && cr->cr_ruid != 0 && cr->cr_suid != 0) { in setppriv()
197 dummycr->cr_ruid = (uid_t)-1; in cred_init()603 if (scrp->cr_uid == tcrp->cr_ruid || in hasprocperm()604 scrp->cr_ruid == tcrp->cr_ruid || in hasprocperm()606 scrp->cr_ruid == tcrp->cr_suid || in hasprocperm()661 cr1->cr_ruid == cr2->cr_ruid && in crcmp()686 return (cr->cr_ruid); in crgetruid()773 cr->cr_ruid = r; in crsetresuid()812 cr->cr_uid = cr->cr_ruid = cr->cr_suid = uid; in crsetugid()885 pcrp->pr_ruid = cr->cr_ruid; in cred2prcred()1044 if (cr->cr_uid == 0 && cr->cr_ruid != 0) { in crnetadjust()[all …]
586 scr->cr_uid == tcr->cr_ruid && in priv_proc_cred_perm()648 if (cr->cr_uid == 0 || cr->cr_suid == 0 || cr->cr_ruid == 0) in priv_set_PA()661 return ((cr->cr_suid != 0 && cr->cr_ruid != 0 && cr->cr_uid != 0) || in priv_can_clear_PA()693 if (cr->cr_suid == 0 || cr->cr_ruid == 0 || cr->cr_uid == 0) { in priv_adjust_PA()732 if (cr->cr_suid == cr->cr_ruid && cr->cr_suid == cr->cr_uid) { in priv_reset_PA()741 } else if (cr->cr_uid != 0 && (cr->cr_ruid == 0 || cr->cr_suid == 0)) { in priv_reset_PA()
851 if (cred->cr_uid != cred->cr_ruid || (cred->cr_rgid != cred->cr_gid && in gexec()896 oruid = pp->p_cred->cr_ruid; in gexec()939 if (cred->cr_ruid != cred->cr_uid || in gexec()948 if (newcred != NULL && oruid != newcred->cr_ruid) { in gexec()952 upcount_inc(newcred->cr_ruid, crgetzoneid(newcred)); in gexec()
1724 cr->cr_ruid != 0) { in secpolicy_allow_setid()1744 (tcr->cr_uid == 0 || tcr->cr_ruid == 0 || tcr->cr_suid == 0)) in secpolicy_proc_owner()1966 if (cr->cr_ruid == 0) in secpolicy_newproc()
79 uid_t cr_ruid; /* real user id */ member
73 (c)->cr_ruid != 0))
98 cr->cr_ruid, cr->cr_rgid, in cmd_cred()
1614 prcp->pr_ruid = cr.cr_ruid; in Pcred_gcore()1794 psp->pr_uid = cr.cr_ruid; in Ppsinfo_gcore()
226 pr_uid = T->p_cred->cr_ruid;
1379 s_cr->cr_uid == cr->cr_ruid && in dtrace_priv_proc_common_user()1569 s_cr->cr_uid != cr->cr_ruid || in dtrace_priv_probe()