Searched refs:pwent (Results 1 – 3 of 3) sorted by relevance
731 struct passwd *pwent; in mm_answer_pwnamallow() local742 pwent = getpwnamallow(username); in mm_answer_pwnamallow()745 setproctitle("%s [priv]", pwent ? username : "unknown"); in mm_answer_pwnamallow()750 if (pwent == NULL) { in mm_answer_pwnamallow()757 authctxt->pw = pwent; in mm_answer_pwnamallow()761 buffer_put_string(m, pwent, sizeof(struct passwd)); in mm_answer_pwnamallow()762 buffer_put_cstring(m, pwent->pw_name); in mm_answer_pwnamallow()765 buffer_put_cstring(m, pwent->pw_gecos); in mm_answer_pwnamallow()768 buffer_put_cstring(m, pwent->pw_class); in mm_answer_pwnamallow()770 buffer_put_cstring(m, pwent->pw_dir); in mm_answer_pwnamallow()[all …]
2623 struct passwd *pwent; in find_home_dir() local2625 if( (pwent=getpwuid(uid)) != NULL) { in find_home_dir()2626 home_dir = pwent->pw_dir; in find_home_dir()
2604 struct passwd *pwent; in find_home_dir() local2606 if( (pwent=getpwuid(uid)) != NULL) { in find_home_dir()2607 home_dir = pwent->pw_dir; in find_home_dir()