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

Issue 2050763004: Ensure that chrome_sandbox doesn't have -rpath=$ORIGIN. (Closed)

Created:
4 years, 6 months ago by Dirk Pranke
Modified:
4 years, 6 months ago
Reviewers:
llozano, brettw
CC:
chromium-reviews, cc-bugs_chromium.org, rickyz+watch_chromium.org, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure that chrome_sandbox doesn't have -rpath=$ORIGIN. This CL tweaks the ldflag configs for chrome_sandbox to make sure we don't accidentally pick up -rpath=$ORIGIN, which can be a security hole for a setuid binary. R=brettw@chromium.org,llozano@chromium.org BUG=612647 Committed: https://crrev.com/3ea22b3a4855512be84da4bc186392434e14de7c Cr-Commit-Position: refs/heads/master@{#399050}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
M build/config/gcc/BUILD.gn View 1 chunk +4 lines, -0 lines 1 comment Download
M sandbox/linux/BUILD.gn View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
Dirk Pranke
https://codereview.chromium.org/2050763004/diff/1/build/config/gcc/BUILD.gn File build/config/gcc/BUILD.gn (right): https://codereview.chromium.org/2050763004/diff/1/build/config/gcc/BUILD.gn#newcode77 build/config/gcc/BUILD.gn:77: # if they should be added to that target ...
4 years, 6 months ago (2016-06-09 00:41:49 UTC) #1
Dirk Pranke
On 2016/06/09 00:41:49, Dirk Pranke wrote: > https://codereview.chromium.org/2050763004/diff/1/build/config/gcc/BUILD.gn > File build/config/gcc/BUILD.gn (right): > > https://codereview.chromium.org/2050763004/diff/1/build/config/gcc/BUILD.gn#newcode77 ...
4 years, 6 months ago (2016-06-09 00:45:24 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2050763004/1
4 years, 6 months ago (2016-06-09 21:51:49 UTC) #4
brettw
lgtm
4 years, 6 months ago (2016-06-09 21:51:51 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-09 23:29:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2050763004/1
4 years, 6 months ago (2016-06-09 23:34:42 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-09 23:40:05 UTC) #10
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-09 23:40:09 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/3ea22b3a4855512be84da4bc186392434e14de7c Cr-Commit-Position: refs/heads/master@{#399050}
4 years, 6 months ago (2016-06-09 23:41:32 UTC) #13
Evgeniy Stepanov
On 2016/06/09 23:41:32, commit-bot: I haz the power wrote: > Patchset 1 (id:??) landed as ...
4 years, 6 months ago (2016-06-13 17:22:09 UTC) #14
Dirk Pranke
On 2016/06/13 17:22:09, Evgeniy Stepanov wrote: > On 2016/06/09 23:41:32, commit-bot: I haz the power ...
4 years, 6 months ago (2016-06-13 17:52:20 UTC) #15
Dirk Pranke
4 years, 6 months ago (2016-06-13 17:56:23 UTC) #16
Message was sent while issue was closed.
On 2016/06/13 17:52:20, Dirk Pranke wrote:
> On 2016/06/13 17:22:09, Evgeniy Stepanov wrote:
> > Hi,
> > 
> > this bot says there is something wrong with this change, and that "ldflags"
is
> > not a thing. Could you please take a look?
> > 
> >
>
https://build.chromium.org/p/chromium.fyi/builders/ClangToTLinuxLLD/builds/81...
> 
> Ah, that should be "ldflags =", not "ldflags +=". Fix coming shortly.

Fix: https://codereview.chromium.org/2059343002/

Powered by Google App Engine
This is Rietveld 408576698