Lines Matching defs:pstruct
148 struct passwd *pstruct; /* password struct for login */
338 pstruct = passwd_cpmalloc(pw);
388 if (uid != pstruct->pw_uid) {
414 } else uid = pstruct->pw_uid;
441 gid = pstruct->pw_gid;
444 if (gid != pstruct->pw_gid)
448 } else gid = pstruct->pw_gid;
467 if (strcmp(pstruct->pw_dir, dir) == 0) {
477 if (check_perm(statbuf, pstruct->pw_uid,
478 pstruct->pw_gid, S_IWOTH|S_IXOTH) != 0) {
486 ret = move_dir(pstruct->pw_dir, dir, logname);
497 if (strcmp(pstruct->pw_shell, shell) == 0) {
515 if (strcmp(pstruct->pw_comment, comment))