Lines Matching refs:ruid
60 USE_FEATURE_SUID(static uid_t ruid;) /* real uid */
144 ruid = getuid();
145 if (ruid == 0) /* run by root - don't need to even read config file */
334 USE_FEATURE_SUID(ruid = getuid();)
344 if (ruid == 0) /* set by parse_config_file() */
360 xsetuid(ruid);
364 if (sct->m_uid == ruid)
367 else if ((sct->m_gid == rgid) || ingroup(ruid, sct->m_gid))
385 uid = ruid;
388 /* else (no seteuid) we will set euid = ruid */
413 xsetuid(ruid);