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

Issue 17820002: Add compiler flags that prevent text relocations. (Closed)

Created:
7 years, 6 months ago by shashi
Modified:
7 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add compiler flags that prevent text relocations. Text relocations are a minor security risk. Add compiler flags that prevent them from reappearing in Android binary. All existing occurences have been removed after http://crrev.com/17714003. TEST=Compile. BUG=b/8061013 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209885

Patch Set 1 #

Patch Set 2 : fix patch. #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : comment. #

Total comments: 2

Patch Set 5 : add flag for release. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M build/common.gypi View 1 2 3 4 2 chunks +11 lines, -2 lines 0 comments Download
M sandbox/linux/sandbox_linux.gypi View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
shashi
I have excluded x86 due to performance concerns on x86. Currently x86 binary is PIC ...
7 years, 5 months ago (2013-07-02 00:23:08 UTC) #1
shashi
On 2013/07/02 00:23:08, shashi wrote: > I have excluded x86 due to performance concerns on ...
7 years, 5 months ago (2013-07-02 00:33:08 UTC) #2
Yaron
Is there an associated bug?
7 years, 5 months ago (2013-07-02 00:47:38 UTC) #3
shashi
On 2013/07/02 00:47:38, Yaron wrote: > Is there an associated bug? Added link to the ...
7 years, 5 months ago (2013-07-02 00:50:08 UTC) #4
Yaron
https://chromiumcodereview.appspot.com/17820002/diff/21001/chrome/chrome_android.gypi File chrome/chrome_android.gypi (right): https://chromiumcodereview.appspot.com/17820002/diff/21001/chrome/chrome_android.gypi#newcode54 chrome/chrome_android.gypi:54: '-Wl,--fatal-warnings', Should be put this instead near werror in ...
7 years, 5 months ago (2013-07-02 00:56:06 UTC) #5
shashi
On 2013/07/02 00:56:06, Yaron wrote: > https://chromiumcodereview.appspot.com/17820002/diff/21001/chrome/chrome_android.gypi > File chrome/chrome_android.gypi (right): > > https://chromiumcodereview.appspot.com/17820002/diff/21001/chrome/chrome_android.gypi#newcode54 > ...
7 years, 5 months ago (2013-07-02 01:01:20 UTC) #6
Yaron
So rather than sprinkling throughout, I'd prefer you disable it in that one target. Or ...
7 years, 5 months ago (2013-07-02 01:30:04 UTC) #7
shashi
PTAL, modified to exclude sanbox jni tests. I did not do this initially because I ...
7 years, 5 months ago (2013-07-02 05:07:45 UTC) #8
Yaron
https://chromiumcodereview.appspot.com/17820002/diff/49001/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/17820002/diff/49001/build/common.gypi#newcode2747 build/common.gypi:2747: 'Debug_Base': { We want this for release too, right?
7 years, 5 months ago (2013-07-02 18:08:13 UTC) #9
shashi
https://chromiumcodereview.appspot.com/17820002/diff/49001/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/17820002/diff/49001/build/common.gypi#newcode2747 build/common.gypi:2747: 'Debug_Base': { On 2013/07/02 18:08:13, Yaron wrote: > We ...
7 years, 5 months ago (2013-07-02 18:17:38 UTC) #10
Yaron
lgtm
7 years, 5 months ago (2013-07-02 18:26:09 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shashishekhar@chromium.org/17820002/59001
7 years, 5 months ago (2013-07-02 18:35:06 UTC) #12
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=13532
7 years, 5 months ago (2013-07-02 19:15:42 UTC) #13
shashi
+jln: owner
7 years, 5 months ago (2013-07-02 19:18:20 UTC) #14
jln (very slow on Chromium)
On 2013/07/02 19:18:20, shashi wrote: > +jln: owner lgtm
7 years, 5 months ago (2013-07-02 20:13:12 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shashishekhar@chromium.org/17820002/59001
7 years, 5 months ago (2013-07-02 20:15:52 UTC) #16
commit-bot: I haz the power
7 years, 5 months ago (2013-07-03 04:32:54 UTC) #17
Message was sent while issue was closed.
Change committed as 209885

Powered by Google App Engine
This is Rietveld 408576698