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

Issue 1529993002: Enable Control Flow Integrity for the official Linux Chrome. Try 6. (Closed)

Created:
5 years ago by krasin
Modified:
5 years ago
Reviewers:
Lei Zhang, danakj, Nico, pcc, pcc1
CC:
chromium-reviews, grt+watch_chromium.org, Michael Moss, wfh+watch_chromium.org, kcc
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. Try 6. 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 sixth 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/ https://codereview.chromium.org/1513623004/ The last time it failed, it was primarily due to the perf build slaves being much slower then the local build or other GCE slaves, see https://crbug.com/569732. This is still under investigation, and the timeout has been increased in the mean time: https://codereview.chromium.org/1528533003/ Committed: https://crrev.com/14cb7878cb522ad05480547690ec3990f4bbb156 Cr-Commit-Position: refs/heads/master@{#365486}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M build/common.gypi View 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 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 29 (10 generated)
krasin
5 years ago (2015-12-15 21:02:33 UTC) #2
krasin
5 years ago (2015-12-15 21:03:05 UTC) #4
krasin
5 years ago (2015-12-15 21:03:57 UTC) #6
pcc1
lgtm
5 years ago (2015-12-15 21:07:48 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1529993002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1529993002/1
5 years ago (2015-12-15 21:09:24 UTC) #9
Nico
what about https://code.google.com/p/chromium/issues/detail?id=568905 ?
5 years ago (2015-12-15 21:10:51 UTC) #10
krasin
On 2015/12/15 21:10:51, Nico wrote: > what about https://code.google.com/p/chromium/issues/detail?id=568905 ? The problem there is that ...
5 years ago (2015-12-15 21:17:50 UTC) #11
krasin
FYI: it's a dry run currently running. No real submit is in progress.
5 years ago (2015-12-15 21:19:23 UTC) #12
Nico
ok, if you're waiting until a dev and a canary build have both completed, then ...
5 years ago (2015-12-15 21:26:33 UTC) #13
krasin
On 2015/12/15 21:26:33, Nico wrote: > ok, if you're waiting until a dev and a ...
5 years ago (2015-12-15 21:33:20 UTC) #14
Lei Zhang
LGTM I recommend writing "Enable ... Chrome (try N)" in the subject line, so it's ...
5 years ago (2015-12-15 22:13:04 UTC) #15
krasin
On 2015/12/15 22:13:04, Lei Zhang wrote: > LGTM > > I recommend writing "Enable ...
5 years ago (2015-12-15 22:15:28 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-15 22:41:17 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1529993002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1529993002/1
5 years ago (2015-12-16 05:53:54 UTC) #21
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-16 06:13:08 UTC) #23
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/14cb7878cb522ad05480547690ec3990f4bbb156 Cr-Commit-Position: refs/heads/master@{#365486}
5 years ago (2015-12-16 06:14:04 UTC) #25
krasin
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1532693002/ by krasin@google.com. ...
5 years ago (2015-12-16 19:41:35 UTC) #26
danakj
This appears to cause linking to time out: https://chromegw.corp.google.com/i/official.desktop.continuous/builders/precise64%20trunk/builds/11345
5 years ago (2015-12-16 20:50:08 UTC) #28
danakj
5 years ago (2015-12-16 20:50:54 UTC) #29
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/1532723002/ by danakj@chromium.org.

The reason for reverting is: Causes link to time out:
https://chromegw.corp.google.com/i/official.desktop.continuous/builders/preci....

Powered by Google App Engine
This is Rietveld 408576698