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

/frameworks/base/native/webview/loader/
H A Dloader.cpp67 jboolean DoCreateRelroFile(const char* lib, const char* relro) { argument
70 if (unlink(relro) != 0 && errno != ENOENT) {
74 ALOGW("Failed to unlink old file %s: %s", relro, strerror(errno));
77 char relro_tmp[strlen(relro) + sizeof(tmpsuffix)];
78 strlcpy(relro_tmp, relro, sizeof(relro_tmp));
99 rename(relro_tmp, relro) != 0) {
100 ALOGE("Failed to update relro file %s: %s", relro, strerror(errno));
104 ALOGV("Created relro file %s for library %s", relro, li
108 DoLoadWithRelroFile(JNIEnv* env, const char* lib, const char* relro, jobject clazzLoader) argument
146 CreateRelroFile(JNIEnv* env, jclass, jstring lib, jstring relro) argument
160 LoadWithRelroFile(JNIEnv* env, jclass, jstring lib, jstring relro, jobject clazzLoader) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewLibraryLoader.java50 "/data/misc/shared_relro/libwebviewchromium32.relro";
52 "/data/misc/shared_relro/libwebviewchromium64.relro";
60 * Private class for running the actual relro creation in an unprivileged child process.
67 // Called in an unprivileged child process to create the relro file.
78 Log.e(LOGTAG, "can't create relro file; address space not reserved");
84 if (result && DEBUG) Log.v(LOGTAG, "created relro file");
93 if (!result) Log.e(LOGTAG, "failed to create relro file");
102 * Create a single relro file by invoking an isolated process that to do the actual work.
113 Log.e(LOGTAG, "relro file creator for " + abi + " crashed. Proceeding without");
130 if (!success) throw new Exception("Failed to start the relro fil
356 nativeCreateRelroFile(String lib, String relro) argument
357 nativeLoadWithRelroFile(String lib, String relro, ClassLoader clazzLoader) argument
[all...]

Completed in 124 milliseconds