Searched refs:User_cache (Results 1 – 1 of 1) sorted by relevance
44 } User_cache[CACHE_SIZE]; variable61 if (!strcmp(User_cache[i].cuname, name)) { in check_cache()63 c2 = strlen(User_cache[i].cpw); in check_cache()65 !(strcmp(User_cache[i].cpw, in check_cache()66 crypt(pw, User_cache[i].cpw)))) { in check_cache()67 *p_uid = User_cache[i].cuid; in check_cache()68 *p_gid = User_cache[i].cgid; in check_cache()71 User_cache[i].cuname[0] = '\0'; /* nuke entry */ in check_cache()84 User_cache[i] = User_cache[i - 1]; in add_cache_entry()85 User_cache[0].cuid = p->pw_uid; in add_cache_entry()[all …]