Home
last modified time | relevance | path

Searched refs:intercept_ruid (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/lib/libshell/common/bltins/
H A Dregress.c197 static uid_t intercept_ruid = -1; variable
201 if (intercept_ruid == -1) in geteuid()
202 intercept_ruid = getuid(); in geteuid()
205 TRACE(euid, "geteuid", ("%s", intercept_euid == intercept_ruid ? "euid==ruid" : "euid!=ruid")); in geteuid()
208 return intercept_ruid; in geteuid()
213 if (intercept_ruid == -1) in setuid()
214 intercept_ruid = getuid(); in setuid()
217 if (uid != intercept_ruid && uid != intercept_suid) in setuid()
224 TRACE(euid, "setuid", ("%s", intercept_euid == intercept_ruid ? "euid==ruid" : "euid!=ruid")); in setuid()
226 else if (uid != intercept_ruid) in setuid()