Lines Matching refs:pstruct
153 struct passwd *pstruct; /* password struct for login */
359 pstruct = passwd_cpmalloc(pw);
415 if (uid != pstruct->pw_uid) {
441 } else uid = pstruct->pw_uid;
468 gid = pstruct->pw_gid;
471 if (gid != pstruct->pw_gid)
475 } else gid = pstruct->pw_gid;
494 if (strcmp(pstruct->pw_dir, dir) == 0) {
504 if (check_perm(statbuf, pstruct->pw_uid,
505 pstruct->pw_gid, S_IWOTH|S_IXOTH) != 0) {
520 ret = move_dir(pstruct->pw_dir, dir,
532 if (strcmp(pstruct->pw_shell, shell) == 0) {
550 if (strcmp(pstruct->pw_comment, comment))