Searched refs:pw (Results 1 – 7 of 7) sorted by relevance
/nss/ |
A D | tst-reload2.c | 92 struct passwd *pw; in do_test() local 109 pw = getpwnam ("test1"); in do_test() 110 TEST_VERIFY (pw != NULL); in do_test() 111 if (pw) in do_test() 112 TEST_COMPARE (pw->pw_uid, 1234); in do_test() 127 pw = getpwnam ("test2"); in do_test() 128 TEST_VERIFY (pw != NULL); in do_test() 129 if (pw) in do_test() 133 pw = getpwnam ("test1"); in do_test() 134 TEST_VERIFY (pw != NULL); in do_test() [all …]
|
A D | tst-nss-getpwent.c | 35 struct passwd * pw; in do_test() local 41 while ((pw = getpwent ()) != NULL) in do_test() 45 first_name = xstrdup (pw->pw_name); in do_test() 46 first_uid = pw->pw_uid; in do_test() 50 last_name = xstrdup (pw->pw_name); in do_test() 51 last_uid = pw->pw_uid; in do_test() 67 while ((pw = getpwent ()) != NULL) in do_test()
|
A D | tst-nss-static.c | 9 struct passwd *pw; in do_test() local 11 pw = getpwuid(0); in do_test() 12 return pw == NULL; in do_test()
|
A D | tst-nss-db-endpwent.c | 37 struct passwd *pw; in try_it() local 44 while ((pw = getpwent ()) != NULL) in try_it()
|
A D | tst-cancel-getpwuid_r.c | 60 struct passwd pwbuf, *pw; in worker() local 78 ret = getpwuid_r (uid, &pwbuf, wbuf, wbufsz, &pw); in worker() 109 struct passwd pwbuf, *pw; in do_test() local 161 ret = getpwuid_r (geteuid (), &pwbuf, buf, bufsz, &pw); in do_test()
|
/nss/nss_compat/ |
A D | compat-spwd.c | 581 internal_getspent_r (struct spwd *pw, ent_t *ent, in internal_getspent_r() argument 590 status = getspent_next_nss_netgr (NULL, pw, ent, NULL, buffer, in internal_getspent_r() 594 return getspent_next_file (pw, ent, buffer, buflen, errnop); in internal_getspent_r() 599 return getspent_next_file (pw, ent, buffer, buflen, errnop); in internal_getspent_r() 601 return getspent_next_nss (pw, ent, buffer, buflen, errnop); in internal_getspent_r()
|
A D | compat-pwd.c | 627 internal_getpwent_r (struct passwd *pw, ent_t *ent, char *buffer, in internal_getpwent_r() argument 636 status = getpwent_next_nss_netgr (NULL, pw, ent, NULL, buffer, buflen, in internal_getpwent_r() 639 return getpwent_next_file (pw, ent, buffer, buflen, errnop); in internal_getpwent_r() 644 return getpwent_next_file (pw, ent, buffer, buflen, errnop); in internal_getpwent_r() 646 return getpwent_next_nss (pw, ent, buffer, buflen, errnop); in internal_getpwent_r()
|
Completed in 16 milliseconds