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

Issue 2130753002: Made setting lowbox token a warning. (Closed)

Created:
4 years, 5 months ago by forshaw
Modified:
4 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, rickyz+watch_chromium.org, asvitkine+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Made setting lowbox token a warning. This patch makes setting of the lowbox toke a warning rather than a hard failure. Some configurations cause the setting of the token to fail, this is most likely issues with third party software. Worst case this will mean that the lowbox token is not set, but we'll continue with the original restricted token sandbox. BUG=501975 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win10_chromium_x64_rel_ng Committed: https://crrev.com/351566a4e91d7f5c204c6c0881986f6bb385a04b Cr-Commit-Position: refs/heads/master@{#405173}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Updates from review #

Patch Set 3 : Reverted change to logging #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -56 lines) Patch
M content/common/sandbox_win.cc View 1 2 2 chunks +11 lines, -2 lines 0 comments Download
M sandbox/win/sandbox_poc/main_ui_window.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
M sandbox/win/src/broker_services.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M sandbox/win/src/broker_services.cc View 1 5 chunks +23 lines, -10 lines 0 comments Download
M sandbox/win/src/policy_target_test.cc View 1 3 chunks +15 lines, -6 lines 0 comments Download
M sandbox/win/src/sandbox.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M sandbox/win/src/target_process.h View 3 chunks +5 lines, -4 lines 0 comments Download
M sandbox/win/src/target_process.cc View 5 chunks +23 lines, -30 lines 0 comments Download
M sandbox/win/tests/common/controller.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
forshaw
Can you take a look at this patch to make failing to apply the lowbox ...
4 years, 5 months ago (2016-07-12 11:08:35 UTC) #3
Will Harris
looks good, few suggestions. https://codereview.chromium.org/2130753002/diff/1/content/common/sandbox_win.cc File content/common/sandbox_win.cc (right): https://codereview.chromium.org/2130753002/diff/1/content/common/sandbox_win.cc#newcode805 content/common/sandbox_win.cc:805: DWORD last_error = ::GetLastError(); Seems ...
4 years, 5 months ago (2016-07-12 16:10:59 UTC) #4
forshaw
On 2016/07/12 16:10:59, Will Harris wrote: > looks good, few suggestions. > > https://codereview.chromium.org/2130753002/diff/1/content/common/sandbox_win.cc > ...
4 years, 5 months ago (2016-07-12 21:01:44 UTC) #5
Ilya Sherman
Metrics lgtm. How much overlap is there between the warning and error codes, though? Will ...
4 years, 5 months ago (2016-07-12 21:17:24 UTC) #6
forshaw
On 2016/07/12 21:17:24, Ilya Sherman wrote: > Metrics lgtm. How much overlap is there between ...
4 years, 5 months ago (2016-07-13 10:43:27 UTC) #7
forshaw
wfh@ PTAL, made final changes you requested.
4 years, 5 months ago (2016-07-13 10:44:23 UTC) #8
Will Harris
On 2016/07/13 10:44:23, forshaw wrote: > wfh@ PTAL, made final changes you requested. lgtm
4 years, 5 months ago (2016-07-13 14:28:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2130753002/40001
4 years, 5 months ago (2016-07-13 14:39:31 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-13 16:07:38 UTC) #13
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 16:07:42 UTC) #14
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 16:11:12 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/351566a4e91d7f5c204c6c0881986f6bb385a04b
Cr-Commit-Position: refs/heads/master@{#405173}

Powered by Google App Engine
This is Rietveld 408576698