Lines Matching refs:passwd

55 struct passwd *
56 _uncached_getpwuid_r(uid_t uid, struct passwd *result, char *buffer,
59 struct passwd *
60 _uncached_getpwnam_r(const char *name, struct passwd *result, char *buffer,
67 struct passwd *
68 getpwnam_r(const char *name, struct passwd *result, char *buffer, int buflen) in getpwnam_r()
80 return ((struct passwd *)NSS_XbyY_FINI(&arg)); in getpwnam_r()
87 struct passwd *
88 getpwuid_r(uid_t uid, struct passwd *result, char *buffer, int buflen) in getpwuid_r()
96 return ((struct passwd *)NSS_XbyY_FINI(&arg)); in getpwuid_r()
100 struct passwd *
101 _uncached_getpwuid_r(uid_t uid, struct passwd *result, char *buffer, in _uncached_getpwuid_r()
110 return ((struct passwd *)NSS_XbyY_FINI(&arg)); in _uncached_getpwuid_r()
119 __posix_getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer, in __posix_getpwuid_r()
120 size_t bufsize, struct passwd **result) in __posix_getpwuid_r()
134 struct passwd *
135 _uncached_getpwnam_r(const char *name, struct passwd *result, char *buffer, in _uncached_getpwnam_r()
144 return ((struct passwd *)NSS_XbyY_FINI(&arg)); in _uncached_getpwnam_r()
152 __posix_getpwnam_r(const char *name, struct passwd *pwd, char *buffer, in __posix_getpwnam_r()
153 size_t bufsize, struct passwd **result) in __posix_getpwnam_r()
180 struct passwd *
181 getpwent_r(struct passwd *result, char *buffer, int buflen) in getpwent_r()
193 (nam = ((struct passwd *)arg.returnval)->pw_name) != 0 && in getpwent_r()
196 return ((struct passwd *)NSS_XbyY_FINI(&arg)); in getpwent_r()
199 struct passwd *
200 fgetpwent_r(FILE *f, struct passwd *result, char *buffer, int buflen) in fgetpwent_r()
210 return ((struct passwd *)NSS_XbyY_FINI(&arg)); in fgetpwent_r()
244 struct passwd *passwd = (struct passwd *)ent; in str2passwd() local
268 passwd->pw_name = p = gettok(&next); /* username */ in str2passwd()
275 passwd->pw_uid = UID_NOBODY; in str2passwd()
276 passwd->pw_gid = GID_NOBODY; in str2passwd()
280 passwd->pw_passwd = ""; in str2passwd()
281 passwd->pw_age = ""; in str2passwd()
285 passwd->pw_comment = ""; in str2passwd()
286 passwd->pw_gecos = ""; in str2passwd()
287 passwd->pw_dir = ""; in str2passwd()
288 passwd->pw_shell = ""; in str2passwd()
291 passwd->pw_passwd = p = gettok(&next); /* password */ in str2passwd()
304 passwd->pw_age = p; in str2passwd()
338 passwd->pw_uid = UID_NOBODY; in str2passwd()
340 passwd->pw_uid = (uid_t)tmp; in str2passwd()
368 passwd->pw_gid = GID_NOBODY; in str2passwd()
370 passwd->pw_gid = (gid_t)tmp; in str2passwd()
379 passwd->pw_gecos = passwd->pw_comment = p = gettok(&next); in str2passwd()
387 passwd->pw_dir = p = gettok(&next); in str2passwd()
395 passwd->pw_shell = p = gettok(&next); in str2passwd()