Searched refs:cr_ruid (Results 1 – 18 of 18) sorted by relevance
/titanic_41/usr/src/uts/common/syscall/ |
H A D | uid.c | 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 …]
|
H A D | access.c | 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()
|
H A D | ppriv.c | 168 cr->cr_uid != 0 && cr->cr_ruid != 0 && cr->cr_suid != 0) { in setppriv()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | cred.c | 196 dummycr->cr_ruid = (uid_t)-1; in cred_init() 600 if (scrp->cr_uid == tcrp->cr_ruid || in hasprocperm() 601 scrp->cr_ruid == tcrp->cr_ruid || in hasprocperm() 603 scrp->cr_ruid == tcrp->cr_suid || in hasprocperm() 658 cr1->cr_ruid == cr2->cr_ruid && in crcmp() 683 return (cr->cr_ruid); in crgetruid() 770 cr->cr_ruid = r; in crsetresuid() 809 cr->cr_uid = cr->cr_ruid = cr->cr_suid = uid; in crsetugid() 882 pcrp->pr_ruid = cr->cr_ruid; in cred2prcred() 1041 if (cr->cr_uid == 0 && cr->cr_ruid != 0) { in crnetadjust() [all …]
|
H A D | priv.c | 587 scr->cr_uid == tcr->cr_ruid && in priv_proc_cred_perm() 649 if (cr->cr_uid == 0 || cr->cr_suid == 0 || cr->cr_ruid == 0) in priv_set_PA() 662 return ((cr->cr_suid != 0 && cr->cr_ruid != 0 && cr->cr_uid != 0) || in priv_can_clear_PA() 694 if (cr->cr_suid == 0 || cr->cr_ruid == 0 || cr->cr_uid == 0) { in priv_adjust_PA() 733 if (cr->cr_suid == cr->cr_ruid && cr->cr_suid == cr->cr_uid) { in priv_reset_PA() 742 } else if (cr->cr_uid != 0 && (cr->cr_ruid == 0 || cr->cr_suid == 0)) { in priv_reset_PA()
|
H A D | exec.c | 744 if (cred->cr_uid != cred->cr_ruid || (cred->cr_rgid != cred->cr_gid && in gexec() 789 oruid = pp->p_cred->cr_ruid; in gexec() 832 if (cred->cr_ruid != cred->cr_uid || in gexec() 841 if (newcred != NULL && oruid != newcred->cr_ruid) { in gexec() 845 upcount_inc(newcred->cr_ruid, crgetzoneid(newcred)); in gexec()
|
H A D | policy.c | 1662 cr->cr_ruid != 0) { in secpolicy_allow_setid() 1682 (tcr->cr_uid == 0 || tcr->cr_ruid == 0 || tcr->cr_suid == 0)) in secpolicy_proc_owner() 1891 if (cr->cr_ruid == 0) in secpolicy_newproc()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | cred_impl.h | 79 uid_t cr_ruid; /* real user id */ member
|
H A D | priv_impl.h | 75 (c)->cr_ruid != 0))
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | cred.c | 98 cr->cr_ruid, cr->cr_rgid, in cmd_cred()
|
H A D | gcore.c | 1613 prcp->pr_ruid = cr.cr_ruid; in Pcred_gcore() 1793 psp->pr_uid = cr.cr_ruid; in Ppsinfo_gcore()
|
/titanic_41/usr/src/uts/common/sys/fs/ |
H A D | cachefs_dlog.h | 80 uid_t cr_ruid; /* real user id */ member
|
/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | procfs.d.in | 226 pr_uid = T->p_cred->cr_ruid;
|
/titanic_41/usr/src/cmd/fs.d/cachefs/cfsd/ |
H A D | cfsd_kmod.c | 1485 credp->cr_ruid, credp->cr_rgid, in kmod_print_cred()
|
H A D | cfsd_logelem.c | 149 credp->cr_ruid, credp->cr_rgid, in logelem_print_cred()
|
/titanic_41/usr/src/uts/common/fs/cachefs/ |
H A D | cachefs_dlog.c | 169 dst->cr_ruid = crgetruid(src); in copy_cred()
|
H A D | cachefs_ioctl.c | 146 (void) crsetresuid(newcr, cr->cr_ruid, cr->cr_uid, cr->cr_suid); in conj_cred()
|
/titanic_41/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 1213 s_cr->cr_uid == cr->cr_ruid && in dtrace_priv_proc_common_user() 1403 s_cr->cr_uid != cr->cr_ruid || in dtrace_priv_probe()
|