Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Unified Diff: base/android/java/src/org/chromium/base/library_loader/Linker.java

Issue 551373004: On library load failure, retry without shared RELRO. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update for review feedback Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/java/src/org/chromium/base/library_loader/Linker.java
diff --git a/base/android/java/src/org/chromium/base/library_loader/Linker.java b/base/android/java/src/org/chromium/base/library_loader/Linker.java
index d33131f0505b8eb08b8634c6dbbb80b8abe87412..2a3006ad174741b127dd62194b72abfbd2e21bf1 100644
--- a/base/android/java/src/org/chromium/base/library_loader/Linker.java
+++ b/base/android/java/src/org/chromium/base/library_loader/Linker.java
@@ -374,6 +374,17 @@ public class Linker {
}
/**
+ * Call this method to determine if the linker will try to use shared RELROs
+ * for the browser process.
+ */
+ public static boolean isUsingBrowserSharedRelros() {
+ synchronized (Linker.class) {
+ ensureInitializedLocked();
+ return sBrowserUsesSharedRelro;
+ }
+ }
+
+ /**
* Call this method to determine if the chromium project must load
* the library directly from the zip file.
*/
« no previous file with comments | « base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698