Lines Matching defs:uid
571 uid_t uid, gid;
617 (privflags = execsetid(vp, &vattr, &uid, &gid, &fset,
634 cred->cr_uid = uid;
636 cred->cr_suid = uid;
704 "!uid %d: setuid execution not allowed, "
708 "!uid %d: setuid execution not allowed, "
716 cmn_err(CE_NOTE, "!zone: %s, uid: %d "
721 cmn_err(CE_NOTE, "!zone: %s, uid: %d "
737 * whether we gained any privileges or executed a set-uid executable.
754 * the file just executed was set-uid or set-gid; this caused
757 * A script set-gid/set-uid to the real uid/gid would start with
843 * uid and gid equal the effective uid and gid.
1032 uid_t uid, gid;
1038 uid = cr->cr_uid;
1047 * If it's a set-uid root program we perform the
1052 * look aside not in Limit set -> ignore set-uid root
1054 * Ordinary set-uid root execution only allowed if the limit
1065 uid = vattrp->va_uid;
1076 uid = vattrp->va_uid;
1118 PRIV_POLICY_ONLY(cr, PRIV_PROC_OWNER, (uid == 0))) &&
1119 (cr->cr_uid != uid ||
1121 cr->cr_suid != uid ||
1123 *uidp = uid;