Lines Matching refs:ruid
69 fprintf(stderr,"%s euid=%d ruid=%d\n", message, geteuid(), getuid());
75 static uid_t ruid, euid;
101 setresuid(ruid, uid, euid);
122 Setuid(ruid);
134 setuid(ruid); /* this should be enough to get rid of the three
136 seteuid(ruid); /* for good measure... just in case we came
141 setresuid(ruid, ruid, ruid);
157 return ruid;
163 ruid = getuid();
168 if(euid != ruid) {
177 if(euid == 0 && ruid != 0) {
185 /* BEOS is no longer a special case, as both euid and ruid