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

Issue 10389210: Add a sandbox policy for duplicating handles into the broker. (Closed)

Created:
8 years, 7 months ago by jschuh
Modified:
8 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org, Ben Goodger (Google)
Visibility:
Public.

Description

Add a sandbox policy for duplicating handles into the broker. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138008

Patch Set 1 : #

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -16 lines) Patch
M content/common/sandbox_policy.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download
M sandbox/src/handle_dispatcher.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M sandbox/src/handle_policy.cc View 1 2 2 chunks +37 lines, -14 lines 0 comments Download
M sandbox/src/handle_policy_test.cc View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
M sandbox/src/policy_params.h View 1 chunk +7 lines, -0 lines 0 comments Download
M sandbox/src/sandbox_policy.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jschuh
It was easiest to extend the existing DuplicateHandle policy, and the happy side effect is ...
8 years, 7 months ago (2012-05-18 18:21:32 UTC) #1
cpu_(ooo_6.6-7.5)
lgtm, it actually looks cleaner than I expected. One thing can you create an actual ...
8 years, 7 months ago (2012-05-18 19:28:13 UTC) #2
jschuh
On 2012/05/18 19:28:13, cpu wrote: > lgtm, it actually looks cleaner than I expected. One ...
8 years, 7 months ago (2012-05-18 20:03:24 UTC) #3
rvargas (doing something else)
LGTM after the two changes. https://chromiumcodereview.appspot.com/10389210/diff/8002/sandbox/src/handle_policy.cc File sandbox/src/handle_policy.cc (right): https://chromiumcodereview.appspot.com/10389210/diff/8002/sandbox/src/handle_policy.cc#newcode34 sandbox/src/handle_policy.cc:34: if (!duplicate_rule.AddNumberMatch(IF, HandleTarget::TARGET, So ...
8 years, 7 months ago (2012-05-18 21:02:51 UTC) #4
jschuh
I checked with Ben and it looks like I need to apply this policy somewhere ...
8 years, 7 months ago (2012-05-18 21:40:53 UTC) #5
rvargas (doing something else)
https://chromiumcodereview.appspot.com/10389210/diff/8002/sandbox/src/handle_policy.cc File sandbox/src/handle_policy.cc (right): https://chromiumcodereview.appspot.com/10389210/diff/8002/sandbox/src/handle_policy.cc#newcode81 sandbox/src/handle_policy.cc:81: HANDLE target_process = remote_target_process.IsValid() ? On 2012/05/18 21:40:53, Justin ...
8 years, 7 months ago (2012-05-18 22:07:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jschuh@chromium.org/10389210/10004
8 years, 7 months ago (2012-05-18 23:18:31 UTC) #7
commit-bot: I haz the power
Try job failure for 10389210-10004 (retry) on linux_rel for step "browser_tests". It's a second try, ...
8 years, 7 months ago (2012-05-19 00:36:55 UTC) #8
commit-bot: I haz the power
8 years, 7 months ago (2012-05-19 01:39:51 UTC) #9

Powered by Google App Engine
This is Rietveld 408576698