Lines Matching refs:pwd
25 struct passwd *pwd, in nss_pack_user_record() argument
33 assert(pwd); in nss_pack_user_record()
52 *pwd = (struct passwd) { in nss_pack_user_record()
60 pwd->pw_passwd = stpcpy(pwd->pw_name, hr->user_name) + 1; in nss_pack_user_record()
61 pwd->pw_gecos = stpcpy(pwd->pw_passwd, PASSWORD_SEE_SHADOW) + 1; in nss_pack_user_record()
62 pwd->pw_dir = stpcpy(pwd->pw_gecos, rn) + 1; in nss_pack_user_record()
63 pwd->pw_shell = stpcpy(pwd->pw_dir, hd) + 1; in nss_pack_user_record()
64 strcpy(pwd->pw_shell, shell); in nss_pack_user_record()
71 struct passwd *pwd, in userdb_getpwnam() argument
78 assert(pwd); in userdb_getpwnam()
92 r = nss_pack_user_record(hr, pwd, buffer, buflen); in userdb_getpwnam()
103 struct passwd *pwd, in userdb_getpwuid() argument
111 assert(pwd); in userdb_getpwuid()
125 r = nss_pack_user_record(hr, pwd, buffer, buflen); in userdb_getpwuid()