Lines Matching refs:ruid
131 uid_t ruid;
178 ruid = getuid();
179 if ((pwp = getpwuid(ruid)) == NULL)
191 if (pwp->pw_uid != ruid)
194 pp = getuser(ruid);
198 pp = getuser(ruid);
226 if (audit_crontab_not_allowed(ruid, pp))
253 if (fchown(tmpfd, ruid, -1) == -1) {
266 setuid(ruid);
372 * unlink edtemp as 'ruid'. The file contents will be held
376 if (((ret = seteuid(ruid)) < 0) ||