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

Issue 1513623004: Enable Control Flow Integrity for the official Linux Chrome. (Closed)

Created:
5 years ago by krasin
Modified:
5 years ago
CC:
chromium-reviews, yunlian, eugenis+clang_chromium.org, glider+clang_chromium.org, dmikurube+clang_chromium.org, ukai+watch_chromium.org, kcc, pcc
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable Control Flow Integrity for the official Linux Chrome. This CL turns on CFI, a security check: https://sites.google.com/a/chromium.org/dev/developers/testing/control-flow-integrity http://clang.llvm.org/docs/ControlFlowIntegrity.html This feature enables LTO (Link-Time Optimization) builds, which slow down the linker by 3x-4x. CFI also comes with a code size overhead of about 7%-9%. The runtime CPU cost is less than 1%, and should not be an issue. BUG=chromium:464797 Intent to Implement thread: https://groups.google.com/a/chromium.org/d/msg/chromium-dev/pbJqt6ccMII/7iJC2oklCAAJ This is a fifth attempt to land the CL. Previous attempts: https://codereview.chromium.org/1502373003/ https://codereview.chromium.org/1501593003/ https://codereview.chromium.org/1393283005/ https://codereview.chromium.org/1502233004/ The last time it failed, it was primarily due to the new Clang roll, that had a bug in the linker. This is now fixed upstream and the new Clang roll happened: https://crbug.com/568248 Perf bots were purple and got a RAM upgrade: https://crbug.com/567787 precice64 official buildbot got OOM due to too many Gold instances running in parallel: https://crbug.com/568011, a more conservative limit was submitted: https://codereview.chromium.org/1509733004/ TBR=thestig@chromium.org Committed: https://crrev.com/efe55ae0c0f26165d71d540ac319ccc9bc569cb3 Cr-Commit-Position: refs/heads/master@{#365117}

Patch Set 1 #

Patch Set 2 : remove py #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M build/common.gypi View 1 1 chunk +7 lines, -0 lines 0 comments Download
M build/config/sanitizers/sanitizers.gni View 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/installer/linux/debian/expected_deps_x64 View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 35 (16 generated)
krasin
Hi Nico, sending the launch CL early on. I will submit it when / if ...
5 years ago (2015-12-10 03:27:02 UTC) #2
imkrasin
Note to myself: update.py change is accidental and must be reverted.
5 years ago (2015-12-10 09:32:39 UTC) #3
Nico
lgtm with update.py change reverted (the cl won't land with that anyhow since that line ...
5 years ago (2015-12-10 15:48:30 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513623004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513623004/20001
5 years ago (2015-12-10 19:53:19 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-10 22:06:29 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513623004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513623004/40001
5 years ago (2015-12-11 15:48:41 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-11 17:16:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513623004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513623004/40001
5 years ago (2015-12-14 16:47:11 UTC) #15
krasin
Lei, please, approve the deps change. This is the same CL as https://codereview.chromium.org/1502233004/, re-landing it ...
5 years ago (2015-12-14 17:05:36 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/128614)
5 years ago (2015-12-14 17:07:35 UTC) #19
krasin
Please, approve the deps part of the CL. FYI: I've fixed the official buildbots which ...
5 years ago (2015-12-14 21:19:07 UTC) #21
krasin
On 2015/12/14 21:19:07, krasin wrote: > Please, approve the deps part of the CL. > ...
5 years ago (2015-12-14 21:40:06 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513623004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513623004/40001
5 years ago (2015-12-14 21:42:05 UTC) #25
Lei Zhang
lgtm
5 years ago (2015-12-14 21:57:06 UTC) #26
chromium-reviews
thank you! On Mon, Dec 14, 2015 at 1:57 PM, <thestig@chromium.org> wrote: > lgtm > ...
5 years ago (2015-12-14 21:57:34 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513623004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513623004/40001
5 years ago (2015-12-14 22:55:24 UTC) #30
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-14 23:00:06 UTC) #32
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/efe55ae0c0f26165d71d540ac319ccc9bc569cb3 Cr-Commit-Position: refs/heads/master@{#365117}
5 years ago (2015-12-14 23:00:49 UTC) #34
krasin
5 years ago (2015-12-15 01:03:52 UTC) #35
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1530553002/ by krasin@google.com.

The reason for reverting is: Link time for the official Chrome on the perf
buildbot is more than 1 hour. Possibly, some regression in LLVM Gold plugin..

Powered by Google App Engine
This is Rietveld 408576698