Searched refs:prompt_buf (Results 1 – 3 of 3) sorted by relevance
63 char prompt_buf[1024]; in pam_get_user() local86 prompt_size = sizeof prompt_buf; in pam_get_user()87 r = openpam_subst(pamh, prompt_buf, &prompt_size, prompt); in pam_get_user()88 if (r == PAM_SUCCESS && prompt_size <= sizeof prompt_buf) in pam_get_user()89 prompt = prompt_buf; in pam_get_user()
68 char prompt_buf[1024]; in pam_get_authtok() local130 prompt_size = sizeof prompt_buf; in pam_get_authtok()131 r = openpam_subst(pamh, prompt_buf, &prompt_size, prompt); in pam_get_authtok()132 if (r == PAM_SUCCESS && prompt_size <= sizeof prompt_buf) in pam_get_authtok()133 prompt = prompt_buf; in pam_get_authtok()
44 char prompt_buf[MY_LEN]; member203 obj->prompt_buf[0] = '\0'; in handle_input()207 strcpy(obj->prompt_buf, buf); in handle_input()212 if (strlen(obj->prompt_buf) + strlen(buf) < in handle_input()213 sizeof(obj->prompt_buf) - 1) { in handle_input()214 strcat(obj->prompt_buf, buf); in handle_input()218 if (obj->prompt != obj->prompt_buf) in handle_input()220 obj->prompt = obj->prompt_buf; in handle_input()270 if (obj->prompt != obj->prompt_buf) { in my_cleanup()272 obj->prompt = obj->prompt_buf; in my_cleanup()