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

Issue 6973032: linux: enable PIE (ASLR) for chrome executable (Closed)

Created:
9 years, 7 months ago by Evan Martin
Modified:
9 years, 7 months ago
Reviewers:
rkc, agl, raymes, Chris Evans
CC:
chromium-reviews, ccoutant
Visibility:
Public.

Description

linux: enable PIE (ASLR) for chrome executable I had been concerned that this wouldn't work with our -fPIC bits we build internally, but the difference is actually a performance once, not a correctness one. (Retry of r85286, with ARM and ia32 disabled.) BUG=57908 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85437 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86333

Patch Set 1 #

Total comments: 1

Patch Set 2 : x64 only #

Patch Set 3 : typoi #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -4 lines) Patch
M chrome/chrome_exe.gypi View 1 2 1 chunk +14 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Evan Martin
9 years, 7 months ago (2011-05-12 19:14:33 UTC) #1
Chris Evans
On 2011/05/12 19:14:33, Evan Martin wrote: LGTM One allegation is that there might be a ...
9 years, 7 months ago (2011-05-12 19:21:40 UTC) #2
Evan Martin
I belive we already build everything with -fPIC to make the PDF library work. But ...
9 years, 7 months ago (2011-05-12 19:23:35 UTC) #3
raymes
You should also be compiling with -fPIE. On Thu, May 12, 2011 at 12:14 PM, ...
9 years, 7 months ago (2011-05-12 19:24:46 UTC) #4
rkc
On 2011/05/12 19:23:35, Evan Martin wrote: > I belive we already build everything with -fPIC ...
9 years, 7 months ago (2011-05-12 19:27:10 UTC) #5
Evan Martin
On 2011/05/12 19:24:46, raymes wrote: > You should also be compiling with -fPIE. We compile ...
9 years, 7 months ago (2011-05-12 19:29:14 UTC) #6
Evan Martin
On 2011/05/12 19:27:10, Rahul Chaturvedi wrote: > So I am not sure I understand the ...
9 years, 7 months ago (2011-05-12 19:30:07 UTC) #7
raymes
I think it will still work but it might limit some gcc optimizations. Cary knows ...
9 years, 7 months ago (2011-05-12 19:35:53 UTC) #8
Evan Martin
On 2011/05/12 19:35:53, raymes wrote: > I think it will still work but it might ...
9 years, 7 months ago (2011-05-12 19:38:09 UTC) #9
raymes
I just verified with Cary that there shouldn't be any issue building with fPIC over ...
9 years, 7 months ago (2011-05-12 21:25:52 UTC) #10
Evan Martin
PTAL, gonna enable only for x64 right now until we figure out the other problems.
9 years, 7 months ago (2011-05-18 17:12:29 UTC) #11
raymes
9 years, 7 months ago (2011-05-21 23:51:01 UTC) #12
LGTM

(Sorry for the delay, didn't realise you wanted another review.)

On Wed, May 18, 2011 at 10:12 AM,  <evan@chromium.org> wrote:
> PTAL, gonna enable only for x64 right now until we figure out the other
> problems.
>
> http://codereview.chromium.org/6973032/
>

Powered by Google App Engine
This is Rietveld 408576698