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

Issue 551373004: On library load failure, retry without shared RELRO. (Closed)

Created:
6 years, 3 months ago by simonb (inactive)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

On library load failure, retry without shared RELRO. https://codereview.chromium.org/443393003 introduced code for service processes that turns off RELRO sharing and retries a library load in the event of an address clash or other failure to load a library with shared RELRO. This change adds the same back off and retry strategy to the libraries loaded in the main browser process, for cases where low memory devices aggressively share RELRO as widely as possible. BUG=411928 TBR=rmcilroy@chromium.org Committed: https://crrev.com/20eb5c542bbae695fe468509bcc10353c83587de Cr-Commit-Position: refs/heads/master@{#294393}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Update for review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -8 lines) Patch
M base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java View 1 2 chunks +35 lines, -8 lines 0 comments Download
M base/android/java/src/org/chromium/base/library_loader/Linker.java View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
simonb (inactive)
6 years, 3 months ago (2014-09-09 15:46:25 UTC) #2
Andrew Hayden (chromium.org)
A few small nits. https://codereview.chromium.org/551373004/diff/1/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java File base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java (right): https://codereview.chromium.org/551373004/diff/1/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java#newcode181 base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java:181: Linker.loadLibraryInZipFile(zipfile, library); Above, we wrap ...
6 years, 3 months ago (2014-09-10 10:13:32 UTC) #3
simonb (inactive)
Thanks for the review. Comment responses below. https://codereview.chromium.org/551373004/diff/1/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java File base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java (right): https://codereview.chromium.org/551373004/diff/1/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java#newcode181 base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java:181: Linker.loadLibraryInZipFile(zipfile, library); ...
6 years, 3 months ago (2014-09-10 10:58:35 UTC) #4
Andrew Hayden (chromium.org)
On 2014/09/10 10:58:35, simonb wrote: > Thanks for the review. Comment responses below. > > ...
6 years, 3 months ago (2014-09-10 11:36:03 UTC) #5
simonb (inactive)
Thanks. Updates in patch set 2.
6 years, 3 months ago (2014-09-10 12:05:14 UTC) #6
Andrew Hayden (chromium.org)
LGTM
6 years, 3 months ago (2014-09-10 12:09:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/551373004/20001
6 years, 3 months ago (2014-09-11 10:51:07 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/10272)
6 years, 3 months ago (2014-09-11 10:59:24 UTC) #11
simonb (inactive)
+sami, for committer lgtm, thanks.
6 years, 3 months ago (2014-09-11 12:52:45 UTC) #13
Sami
lgtm
6 years, 3 months ago (2014-09-11 14:05:36 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/551373004/20001
6 years, 3 months ago (2014-09-11 14:59:08 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/10309)
6 years, 3 months ago (2014-09-11 15:06:32 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/551373004/20001
6 years, 3 months ago (2014-09-11 15:45:33 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001) as ebf5ac2f4fb6464a2c443f05583f7675954056c1
6 years, 3 months ago (2014-09-11 15:50:04 UTC) #21
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 15:53:07 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/20eb5c542bbae695fe468509bcc10353c83587de
Cr-Commit-Position: refs/heads/master@{#294393}

Powered by Google App Engine
This is Rietveld 408576698