Lines Matching refs:euid
103 common_setreuid(uid_t ruid, uid_t euid, bool setAllIfPrivileged, bool kernel) in common_setreuid() argument
128 euid = ruid; in common_setreuid()
147 if (euid == (uid_t)-1) { in common_setreuid()
148 euid = team->effective_uid; in common_setreuid()
150 if (!privileged && euid != team->effective_uid in common_setreuid()
151 && euid != team->real_uid && euid != team->saved_set_uid) { in common_setreuid()
158 team->effective_uid = euid; in common_setreuid()
317 _kern_setreuid(uid_t ruid, uid_t euid, bool setAllIfPrivileged) in _kern_setreuid() argument
319 return common_setreuid(ruid, euid, setAllIfPrivileged, true); in _kern_setreuid()
366 _user_setreuid(uid_t ruid, uid_t euid, bool setAllIfPrivileged) in _user_setreuid() argument
368 return common_setreuid(ruid, euid, setAllIfPrivileged, false); in _user_setreuid()