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

Issue 1814863004: Cleanup/Remove Windows XP/Vista version checks from Windows sandbox code (Closed)

Created:
4 years, 9 months ago by kylix_rd
Modified:
4 years, 9 months ago
Reviewers:
jschuh, Will Harris
CC:
chromium-reviews, wfh+watch_chromium.org, rickyz+watch_chromium.org, forshaw
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup/Remove Windows XP/Vista version checks from Windows sandbox code 903c28eb7d6d9cc14b0c67066e849608b6e5ada1 Initial sandbox VP/Vista version check sanitization 2f6c387f12b9570c59906356ec4d45437411542b Fixed build error Committed: https://crrev.com/f9b843b964801440b50e74b072c70e7ecb0f1921 Cr-Commit-Position: refs/heads/master@{#382419}

Patch Set 1 #

Patch Set 2 : More changes #

Total comments: 10

Patch Set 3 : Removed Wow64 stuff. #

Total comments: 4

Patch Set 4 : Comment cleanup #

Patch Set 5 : revert disabled reparse point check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -549 lines) Patch
M sandbox/win/BUILD.gn View 1 2 2 chunks +0 lines, -3 lines 0 comments Download
M sandbox/win/sandbox_win.gypi View 1 2 2 chunks +0 lines, -3 lines 0 comments Download
D sandbox/win/src/Wow64.h View 1 2 1 chunk +0 lines, -52 lines 0 comments Download
D sandbox/win/src/Wow64.cc View 1 2 1 chunk +0 lines, -226 lines 0 comments Download
D sandbox/win/src/Wow64_64.cc View 1 2 1 chunk +0 lines, -22 lines 0 comments Download
M sandbox/win/src/address_sanitizer_test.cc View 1 chunk +7 lines, -11 lines 0 comments Download
M sandbox/win/src/broker_services.cc View 1 chunk +63 lines, -65 lines 0 comments Download
M sandbox/win/src/file_policy_test.cc View 1 2 2 chunks +0 lines, -4 lines 0 comments Download
M sandbox/win/src/handle_inheritance_test.cc View 1 chunk +1 line, -5 lines 0 comments Download
M sandbox/win/src/integrity_level_test.cc View 3 chunks +0 lines, -6 lines 0 comments Download
M sandbox/win/src/interception.cc View 1 2 2 chunks +0 lines, -7 lines 0 comments Download
M sandbox/win/src/lpc_policy_test.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M sandbox/win/src/named_pipe_policy_test.cc View 3 chunks +12 lines, -24 lines 0 comments Download
M sandbox/win/src/policy_broker.cc View 1 2 3 1 chunk +7 lines, -10 lines 0 comments Download
M sandbox/win/src/policy_target_test.cc View 1 3 chunks +5 lines, -15 lines 0 comments Download
M sandbox/win/src/process_mitigations.cc View 1 2 7 chunks +6 lines, -48 lines 0 comments Download
M sandbox/win/src/registry_dispatcher.cc View 1 chunk +1 line, -5 lines 0 comments Download
M sandbox/win/src/restricted_token_utils.cc View 5 chunks +2 lines, -11 lines 0 comments Download
M sandbox/win/src/sandbox_policy_base.cc View 1 chunk +1 line, -2 lines 0 comments Download
M sandbox/win/src/target_services.cc View 1 chunk +14 lines, -17 lines 0 comments Download
M sandbox/win/tests/validation_tests/suite.cc View 1 3 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
kylix_rd
4 years, 9 months ago (2016-03-17 22:31:51 UTC) #5
kylix_rd
https://codereview.chromium.org/1814863004/diff/20001/sandbox/win/src/win_utils.cc File sandbox/win/src/win_utils.cc (right): https://codereview.chromium.org/1814863004/diff/20001/sandbox/win/src/win_utils.cc#newcode204 sandbox/win/src/win_utils.cc:204: }*/ Ignore this change. Commented out to get Chrome ...
4 years, 9 months ago (2016-03-17 22:52:10 UTC) #6
Will Harris
https://codereview.chromium.org/1814863004/diff/20001/sandbox/win/src/integrity_level_test.cc File sandbox/win/src/integrity_level_test.cc (left): https://codereview.chromium.org/1814863004/diff/20001/sandbox/win/src/integrity_level_test.cc#oldcode48 sandbox/win/src/integrity_level_test.cc:48: if (base::win::GetVersion() != base::win::VERSION_VISTA) hmm were these tests really ...
4 years, 9 months ago (2016-03-17 23:05:59 UTC) #7
kylix_rd
https://codereview.chromium.org/1814863004/diff/20001/sandbox/win/src/integrity_level_test.cc File sandbox/win/src/integrity_level_test.cc (left): https://codereview.chromium.org/1814863004/diff/20001/sandbox/win/src/integrity_level_test.cc#oldcode48 sandbox/win/src/integrity_level_test.cc:48: if (base::win::GetVersion() != base::win::VERSION_VISTA) On 2016/03/17 23:05:58, Will Harris ...
4 years, 9 months ago (2016-03-17 23:40:11 UTC) #8
kylix_rd
https://codereview.chromium.org/1814863004/diff/40001/sandbox/win/src/win_utils.cc File sandbox/win/src/win_utils.cc (right): https://codereview.chromium.org/1814863004/diff/40001/sandbox/win/src/win_utils.cc#newcode204 sandbox/win/src/win_utils.cc:204: }*/ According to this: https://bugs.chromium.org/p/project-zero/issues/detail?id=486&redir=1 The issue behind why ...
4 years, 9 months ago (2016-03-17 23:49:32 UTC) #9
Will Harris
+forshaw for the reparse check. I think we should leave this in... https://codereview.chromium.org/1814863004/diff/40001/sandbox/win/src/win_utils.cc File sandbox/win/src/win_utils.cc ...
4 years, 9 months ago (2016-03-18 05:17:04 UTC) #10
jschuh
https://codereview.chromium.org/1814863004/diff/40001/sandbox/win/src/win_utils.cc File sandbox/win/src/win_utils.cc (right): https://codereview.chromium.org/1814863004/diff/40001/sandbox/win/src/win_utils.cc#newcode204 sandbox/win/src/win_utils.cc:204: }*/ kylix_rd - Sorry, I should have paid closer ...
4 years, 9 months ago (2016-03-18 07:03:23 UTC) #11
kylix_rd
https://codereview.chromium.org/1814863004/diff/40001/sandbox/win/src/win_utils.cc File sandbox/win/src/win_utils.cc (right): https://codereview.chromium.org/1814863004/diff/40001/sandbox/win/src/win_utils.cc#newcode204 sandbox/win/src/win_utils.cc:204: }*/ On 2016/03/18 07:03:23, jschuh (very slow) wrote: > ...
4 years, 9 months ago (2016-03-18 14:08:54 UTC) #12
jschuh
On 2016/03/18 14:08:54, kylix_rd wrote: > https://codereview.chromium.org/1814863004/diff/40001/sandbox/win/src/win_utils.cc > File sandbox/win/src/win_utils.cc (right): > > https://codereview.chromium.org/1814863004/diff/40001/sandbox/win/src/win_utils.cc#newcode204 > ...
4 years, 9 months ago (2016-03-18 14:59:02 UTC) #13
kylix_rd
On 2016/03/18 14:59:02, jschuh (very slow) wrote: > On 2016/03/18 14:08:54, kylix_rd wrote: > > ...
4 years, 9 months ago (2016-03-18 16:16:10 UTC) #14
kylix_rd
https://codereview.chromium.org/1814863004/diff/20001/sandbox/win/src/interception.cc File sandbox/win/src/interception.cc (left): https://codereview.chromium.org/1814863004/diff/20001/sandbox/win/src/interception.cc#oldcode474 sandbox/win/src/interception.cc:474: if (!WowHelper.WaitForNtdll()) On 2016/03/17 23:05:58, Will Harris wrote: > ...
4 years, 9 months ago (2016-03-21 19:09:09 UTC) #15
Will Harris
lgtm
4 years, 9 months ago (2016-03-21 19:12:41 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814863004/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814863004/70001
4 years, 9 months ago (2016-03-21 21:29:24 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:70001)
4 years, 9 months ago (2016-03-21 22:28:54 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 22:30:47 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f9b843b964801440b50e74b072c70e7ecb0f1921
Cr-Commit-Position: refs/heads/master@{#382419}

Powered by Google App Engine
This is Rietveld 408576698