Searched refs:cr_suid (Results 1 – 10 of 10) sorted by relevance
83 if ((uid == cr->cr_ruid || uid == cr->cr_suid) && in setuid()127 cr->cr_suid != uid) in setuid()133 newcr->cr_suid = uid; in setuid()220 if (uid == cr->cr_ruid || uid == cr->cr_uid || uid == cr->cr_suid || in seteuid()311 euid != cr->cr_suid && secpolicy_allow_setid(cr, euid, B_FALSE)) { in setreuid()367 newcr->cr_suid = newcr->cr_uid; in setreuid()374 cr->cr_suid != newcr->cr_suid)) in setreuid()
168 cr->cr_uid != 0 && cr->cr_ruid != 0 && cr->cr_suid != 0) { in setppriv()
587 scr->cr_uid == tcr->cr_suid && 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()
199 dummycr->cr_suid = (uid_t)-1; in cred_init()605 scrp->cr_uid == tcrp->cr_suid || in hasprocperm()606 scrp->cr_ruid == tcrp->cr_suid || in hasprocperm()692 return (cr->cr_suid); in crgetsuid()777 cr->cr_suid = s; in crsetresuid()812 cr->cr_uid = cr->cr_ruid = cr->cr_suid = uid; in crsetugid()886 pcrp->pr_suid = cr->cr_suid; in cred2prcred()
720 cred->cr_suid = uid; in gexec()929 cred->cr_suid = cred->cr_uid; in gexec()1205 cr->cr_suid != uid || in execsetid()
1723 if (newuid == 0 && cr->cr_uid != 0 && cr->cr_suid != 0 && in secpolicy_allow_setid()1744 (tcr->cr_uid == 0 || tcr->cr_ruid == 0 || tcr->cr_suid == 0)) in secpolicy_proc_owner()
81 uid_t cr_suid; /* "saved" user id (from exec) */ member
72 ((c)->cr_uid != 0 && (c)->cr_suid != 0 && \
1615 prcp->pr_suid = cr.cr_suid; in Pcred_gcore()
1380 s_cr->cr_uid == cr->cr_suid && in dtrace_priv_proc_common_user()1570 s_cr->cr_uid != cr->cr_suid || in dtrace_priv_probe()