Searched refs:last_uid (Results 1 – 2 of 2) sorted by relevance
34 static uid_t last_uid = AID_ROOT; /* logd *always* starts up as AID_ROOT */ in __android_log_uid()36 if (last_uid == AID_ROOT) { /* have we called to get the UID yet? */ in __android_log_uid()37 last_uid = getuid(); in __android_log_uid()39 return last_uid; in __android_log_uid()
82 static uid_t last_uid = (uid_t) -1; in get_best_effective_uid() local84 if (last_uid != (uid_t) -1) { in get_best_effective_uid()85 return last_uid; in get_best_effective_uid()89 return last_uid = uid; in get_best_effective_uid()93 return last_uid = euid; in get_best_effective_uid()97 return last_uid = gid; in get_best_effective_uid()101 return last_uid = gid; in get_best_effective_uid()110 return last_uid = list[i]; in get_best_effective_uid()114 return last_uid = uid; in get_best_effective_uid()