Lines Matching refs:euid
264 setreuid(uid_t ruid, uid_t euid)
277 (euid != -1 && !VALID_UID(euid, zone)))
280 if (euid != -1 && euid > MAXUID) {
281 if (ksid_lookupbyuid(zone, euid, &ksid) != 0)
309 } else if (euid != -1 &&
310 euid != cr->cr_ruid && euid != cr->cr_uid &&
311 euid != cr->cr_suid && secpolicy_allow_setid(cr, euid, B_FALSE)) {
347 if (euid != -1) {
348 newcr->cr_uid = euid;
366 (euid != -1 && newcr->cr_uid != newcr->cr_ruid))
377 priv_reset_PA(newcr, ruid != -1 && euid != -1 && ruid == euid);