Home
last modified time | relevance | path

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

/external/syslinux/com32/cmenu/libmenu/
Dpasswords.c22 p_pwdentry userdb[MAX_USERS]; // Array of pointers variable
32 if (userdb[i] == NULL) in authenticate_user()
34 if (strcmp(username, userdb[i]->username) == 0) { in authenticate_user()
35 strcpy(salt, userdb[i]->pwdhash); in authenticate_user()
37 if (strcmp(userdb[i]->pwdhash, crypt(pwd, salt)) == 0) in authenticate_user()
63 if (strcmp(userdb[i]->username, username) == 0) // Found the user in isallowed()
65 if (userdb[i]->perms == NULL) in isallowed()
67 tmp = strstr(userdb[i]->perms, dperm); // Search for permission in isallowed()
88 userdb[i] = NULL; in init_passwords()
133 userdb[numusers] = (p_pwdentry) malloc(sizeof(pwdentry)); in init_passwords()
[all …]
/external/libbrillo/brillo/
Duserdb_utils.h17 namespace userdb {
Duserdb_utils.cc17 namespace userdb { namespace