Home
last modified time | relevance | path

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

/frameworks/base/native/webview/loader/
Dloader.cpp69 jboolean DoCreateRelroFile(JNIEnv* env, const char* lib, const char* relro, in DoCreateRelroFile() argument
73 if (unlink(relro) != 0 && errno != ENOENT) { in DoCreateRelroFile()
77 ALOGW("Failed to unlink old file %s: %s", relro, strerror(errno)); in DoCreateRelroFile()
80 char relro_tmp[strlen(relro) + sizeof(tmpsuffix)]; in DoCreateRelroFile()
81 strlcpy(relro_tmp, relro, sizeof(relro_tmp)); in DoCreateRelroFile()
111 rename(relro_tmp, relro) != 0) { in DoCreateRelroFile()
112 ALOGE("Failed to update relro file %s: %s", relro, strerror(errno)); in DoCreateRelroFile()
116 ALOGV("Created relro file %s for library %s", relro, lib); in DoCreateRelroFile()
120 jint DoLoadWithRelroFile(JNIEnv* env, const char* lib, const char* relro, in DoLoadWithRelroFile() argument
122 int relro_fd = TEMP_FAILURE_RETRY(open(relro, O_RDONLY)); in DoLoadWithRelroFile()
[all …]
DAndroid.bp18 // Loader library which handles address space reservation and relro sharing.
/frameworks/base/core/java/android/webkit/
DWebViewLibraryLoader.java224 static native boolean nativeCreateRelroFile(String lib, String relro, ClassLoader clazzLoader); in nativeCreateRelroFile() argument
225 static native int nativeLoadWithRelroFile(String lib, String relro, ClassLoader clazzLoader); in nativeLoadWithRelroFile() argument