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

Issue 330853002: Add UIPI support for sandbox alternate desktop (Closed)

Created:
6 years, 6 months ago by jschuh
Modified:
6 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Project:
chromium
Visibility:
Public.

Description

Add UIPI support for sandbox alternate desktop Processes must initialize user32 at a lower integrity level to enable UIPI. So, we have to drop the integrity label of the alternate desktop to allow processes to attach to the alternate desktop at reduced integrity levels. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279424

Patch Set 1 #

Patch Set 2 : nit #

Patch Set 3 : wip #

Patch Set 4 : ready for review #

Patch Set 5 : conditional tweak #

Total comments: 13

Patch Set 6 : feedback #

Total comments: 1

Patch Set 7 : rebased #

Patch Set 8 : nit #

Patch Set 9 : feedback #

Total comments: 4

Patch Set 10 : for commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -2 lines) Patch
M content/common/sandbox_win.cc View 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/win/src/integrity_level_test.cc View 1 2 3 7 8 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/win/src/restricted_token_utils.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M sandbox/win/src/sandbox_policy_base.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/win/src/sandbox_policy_base.cc View 1 2 3 4 5 6 7 8 9 3 chunks +25 lines, -1 line 0 comments Download
M sandbox/win/tests/validation_tests/suite.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
jschuh
PTAL - I've always been meaning to make the renderers launch at low integrity, but ...
6 years, 6 months ago (2014-06-13 16:13:05 UTC) #1
jschuh
Sorry, sent out that email before I was entirely done. This version is tweaked a ...
6 years, 6 months ago (2014-06-13 18:04:05 UTC) #2
rvargas (doing something else)
https://codereview.chromium.org/330853002/diff/80001/sandbox/win/src/restricted_token_utils.h File sandbox/win/src/restricted_token_utils.h (right): https://codereview.chromium.org/330853002/diff/80001/sandbox/win/src/restricted_token_utils.h#newcode83 sandbox/win/src/restricted_token_utils.h:83: const wchar_t* GetIntegrityLevelString(IntegrityLevel integrity_level); nit: this should go at ...
6 years, 6 months ago (2014-06-13 19:46:11 UTC) #3
jschuh
ptal https://codereview.chromium.org/330853002/diff/80001/sandbox/win/src/restricted_token_utils.h File sandbox/win/src/restricted_token_utils.h (right): https://codereview.chromium.org/330853002/diff/80001/sandbox/win/src/restricted_token_utils.h#newcode83 sandbox/win/src/restricted_token_utils.h:83: const wchar_t* GetIntegrityLevelString(IntegrityLevel integrity_level); On 2014/06/13 19:46:11, rvargas ...
6 years, 6 months ago (2014-06-13 22:29:37 UTC) #4
rvargas (doing something else)
https://codereview.chromium.org/330853002/diff/80001/sandbox/win/src/sandbox_policy_base.cc File sandbox/win/src/sandbox_policy_base.cc (right): https://codereview.chromium.org/330853002/diff/80001/sandbox/win/src/sandbox_policy_base.cc#newcode529 sandbox/win/src/sandbox_policy_base.cc:529: // process has an integrity label that can access ...
6 years, 6 months ago (2014-06-13 23:18:48 UTC) #5
jschuh
This patch depends on IntegrityLevel reording in https://codereview.chromium.org/330373002/
6 years, 6 months ago (2014-06-14 14:23:14 UTC) #6
jschuh
ptal - removed integrity level reordering dependency.
6 years, 6 months ago (2014-06-20 23:00:39 UTC) #7
rvargas (doing something else)
LGTM https://codereview.chromium.org/330853002/diff/170001/sandbox/win/src/sandbox_policy_base.cc File sandbox/win/src/sandbox_policy_base.cc (right): https://codereview.chromium.org/330853002/diff/170001/sandbox/win/src/sandbox_policy_base.cc#newcode81 sandbox/win/src/sandbox_policy_base.cc:81: INTEGRITY_LEVEL_LAST; At this point I would be OK ...
6 years, 6 months ago (2014-06-20 23:13:08 UTC) #8
jschuh
https://codereview.chromium.org/330853002/diff/170001/sandbox/win/src/sandbox_policy_base.cc File sandbox/win/src/sandbox_policy_base.cc (right): https://codereview.chromium.org/330853002/diff/170001/sandbox/win/src/sandbox_policy_base.cc#newcode81 sandbox/win/src/sandbox_policy_base.cc:81: INTEGRITY_LEVEL_LAST; On 2014/06/20 23:13:08, rvargas wrote: > At this ...
6 years, 6 months ago (2014-06-20 23:21:04 UTC) #9
jschuh
The CQ bit was checked by jschuh@chromium.org
6 years, 6 months ago (2014-06-20 23:21:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jschuh@chromium.org/330853002/190001
6 years, 6 months ago (2014-06-20 23:24:08 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-21 03:18:05 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-21 05:04:07 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/30668)
6 years, 6 months ago (2014-06-21 05:04:08 UTC) #14
jschuh
The CQ bit was checked by jschuh@chromium.org
6 years, 6 months ago (2014-06-21 05:37:37 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jschuh@chromium.org/330853002/190001
6 years, 6 months ago (2014-06-21 05:39:11 UTC) #16
jschuh
The CQ bit was unchecked by jschuh@chromium.org
6 years, 6 months ago (2014-06-21 05:39:22 UTC) #17
jschuh
The CQ bit was checked by jschuh@chromium.org
6 years, 6 months ago (2014-06-24 16:38:08 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jschuh@chromium.org/330853002/190001
6 years, 6 months ago (2014-06-24 16:39:03 UTC) #19
commit-bot: I haz the power
6 years, 6 months ago (2014-06-24 17:12:20 UTC) #20
Message was sent while issue was closed.
Change committed as 279424

Powered by Google App Engine
This is Rietveld 408576698