Searched refs:opw (Results 1 – 2 of 2) sorted by relevance
119 passwd_cpmalloc(opw) in passwd_cpmalloc() argument120 struct passwd *opw; in passwd_cpmalloc()124 if (opw == NULL)130 npw->pw_name = strcpmalloc(opw->pw_name);131 npw->pw_passwd = strcpmalloc(opw->pw_passwd);132 npw->pw_uid = opw->pw_uid;133 npw->pw_gid = opw->pw_gid;134 npw->pw_age = strcpmalloc(opw->pw_age);135 npw->pw_comment = strcpmalloc(opw->pw_comment);136 npw->pw_gecos = strcpmalloc(opw->pw_gecos);[all …]
603 check_diff(char *pw, char *opw, struct pwdefaults *pwdef, pam_handle_t *pamh, in check_diff() argument609 if (opw == NULL) in check_diff()610 opw = ""; in check_diff()614 opwlen = MIN(strlen(opw), max); in check_diff()621 while (*opw != '\0' && *pw != '\0' && max-- != 0) { in check_diff()622 if (*opw != *pw) in check_diff()624 opw++; in check_diff()