Searched refs:pwd0 (Results 1 - 1 of 1) sorted by relevance

/freebsd-12-stable/lib/libcasper/services/cap_pwd/tests/
H A Dpwd_test.c89 passwd_compare(const struct passwd *pwd0, const struct passwd *pwd1) argument
92 if (pwd0 == NULL && pwd1 == NULL)
94 if (pwd0 == NULL || pwd1 == NULL)
97 if (strcmp(pwd0->pw_name, pwd1->pw_name) != 0)
100 if (pwd0->pw_passwd != NULL || pwd1->pw_passwd != NULL) {
101 if (pwd0->pw_passwd == NULL || pwd1->pw_passwd == NULL)
103 if (strcmp(pwd0->pw_passwd, pwd1->pw_passwd) != 0)
107 if (pwd0->pw_uid != pwd1->pw_uid)
110 if (pwd0->pw_gid != pwd1->pw_gid)
113 if (pwd0
[all...]

Completed in 58 milliseconds