Lines Matching refs:pstruct
152 struct passwd *pstruct; /* password struct for login */ local
342 pstruct = passwd_cpmalloc(pw);
398 if (uid != pstruct->pw_uid) {
424 } else uid = pstruct->pw_uid;
451 gid = pstruct->pw_gid;
454 if (gid != pstruct->pw_gid)
458 } else gid = pstruct->pw_gid;
477 if (strcmp(pstruct->pw_dir, dir) == 0) {
487 if (check_perm(statbuf, pstruct->pw_uid,
488 pstruct->pw_gid, S_IWOTH|S_IXOTH) != 0) {
496 ret = move_dir(pstruct->pw_dir, dir, logname);
507 if (strcmp(pstruct->pw_shell, shell) == 0) {
525 if (strcmp(pstruct->pw_comment, comment))