Home
last modified time | relevance | path

Searched refs:relro_tmp (Results 1 – 1 of 1) sorted by relevance

/frameworks/webview/chromium/loader/
Dloader.cpp70 char relro_tmp[strlen(relro) + sizeof(tmpsuffix)]; in DoCreateRelroFile() local
71 strlcpy(relro_tmp, relro, sizeof(relro_tmp)); in DoCreateRelroFile()
72 strlcat(relro_tmp, tmpsuffix, sizeof(relro_tmp)); in DoCreateRelroFile()
73 int tmp_fd = TEMP_FAILURE_RETRY(mkstemp(relro_tmp)); in DoCreateRelroFile()
75 ALOGE("Failed to create temporary file %s: %s", relro_tmp, strerror(errno)); in DoCreateRelroFile()
87 unlink(relro_tmp); in DoCreateRelroFile()
91 chmod(relro_tmp, S_IRUSR | S_IRGRP | S_IROTH) != 0 || in DoCreateRelroFile()
92 rename(relro_tmp, relro) != 0) { in DoCreateRelroFile()
94 unlink(relro_tmp); in DoCreateRelroFile()