Home
last modified time | relevance | path

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

/frameworks/webview/chromium/loader/
Dloader.cpp67 jboolean DoCreateRelroFile(const char* lib, const char* relro) { in DoCreateRelroFile() argument
70 if (unlink(relro) != 0 && errno != ENOENT) { in DoCreateRelroFile()
74 ALOGW("Failed to unlink old file %s: %s", relro, strerror(errno)); in DoCreateRelroFile()
77 char relro_tmp[strlen(relro) + sizeof(tmpsuffix)]; in DoCreateRelroFile()
78 strlcpy(relro_tmp, relro, sizeof(relro_tmp)); in DoCreateRelroFile()
99 rename(relro_tmp, relro) != 0) { in DoCreateRelroFile()
100 ALOGE("Failed to update relro file %s: %s", relro, strerror(errno)); in DoCreateRelroFile()
104 ALOGV("Created relro file %s for library %s", relro, lib); in DoCreateRelroFile()
108 jint DoLoadWithRelroFile(JNIEnv* env, const char* lib, const char* relro, in DoLoadWithRelroFile() argument
110 int relro_fd = TEMP_FAILURE_RETRY(open(relro, O_RDONLY)); in DoLoadWithRelroFile()
[all …]