Lines Matching refs:pwd
26 static void print_struct_passwd(const struct passwd *pwd) { in print_struct_passwd() argument
28 pwd->pw_name, pwd->pw_uid, pwd->pw_gid); in print_struct_passwd()
29 log_info(" passwd=\"%s\"", pwd->pw_passwd); in print_struct_passwd()
30 log_info(" gecos=\"%s\"", pwd->pw_gecos); in print_struct_passwd()
31 log_info(" dir=\"%s\"", pwd->pw_dir); in print_struct_passwd()
32 log_info(" shell=\"%s\"", pwd->pw_shell); in print_struct_passwd()
54 struct passwd pwd; in test_getpwnam_r() local
64 status = f(name, &pwd, buffer, sizeof buffer, &errno1); in test_getpwnam_r()
70 print_struct_passwd(&pwd); in test_getpwnam_r()
106 struct passwd pwd; in test_getpwuid_r() local
116 status = f(uid, &pwd, buffer, sizeof buffer, &errno1); in test_getpwuid_r()
122 print_struct_passwd(&pwd); in test_getpwuid_r()