Searched refs:tempfilename (Results 1 – 1 of 1) sorted by relevance
240 FILE *get_temp_file_handle(const pam_handle_t *pamh, char *const tempfilename) in get_temp_file_handle() argument245 fd = mkstemp(tempfilename); in get_temp_file_handle()251 pam_syslog(pamh, LOG_DEBUG, "Temporary file name is %s", tempfilename); in get_temp_file_handle()277 char tempfilename[1024]; in update_pass_special_file() local317 (sizeof(tempfilename) - strlen("__XXXXXX") - 1)) { in update_pass_special_file()338 snprintf(tempfilename, sizeof(tempfilename), "%s__XXXXXX", filename); in update_pass_special_file()339 pwfile = get_temp_file_handle(pamh, tempfilename); in update_pass_special_file()580 tempfilename); in update_pass_special_file()587 tempfilename); in update_pass_special_file()594 if (!rename(tempfilename, filename)) { in update_pass_special_file()[all …]