Lines Matching defs:euid
1600 int ruid, euid;
1603 euid = geteuid();
1610 if (seteuid(euid) == -1) {
1759 uid_t ruid, euid, suid;
1762 if ((getresuid(&ruid, &euid, &suid) == 0) &&
1764 privsElevated = (euid != suid) || (egid != sgid);
1773 /* running as root: uid==euid==0 */
1781 * euid to 0.
1808 * the server's euid != ruid. In 3.3.x, these checks were done in an
1832 /* Check args and env only if running setuid (euid == 0 && euid != uid) ? */
2006 * usually only done for setuid servers (uid != euid).