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

Issue 9838083: Add a sandbox API for broker handle duplication (Closed)

Created:
8 years, 9 months ago by jschuh
Modified:
8 years, 8 months ago
CC:
chromium-reviews, Nicolas Sylvain
Visibility:
Public.

Description

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 47

Patch Set 9 : #

Total comments: 2

Patch Set 10 : #

Total comments: 6

Patch Set 11 : #

Total comments: 4

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+582 lines, -25 lines) Patch
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -1 line 0 comments Download
M content/common/sandbox_init_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +4 lines, -3 lines 0 comments Download
M content/common/sandbox_policy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +12 lines, -2 lines 0 comments Download
M content/common/sandbox_policy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +61 lines, -6 lines 0 comments Download
M sandbox/sandbox.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +8 lines, -1 line 0 comments Download
M sandbox/src/broker_services.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +11 lines, -1 line 0 comments Download
M sandbox/src/broker_services.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +11 lines, -1 line 0 comments Download
A sandbox/src/handle_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +37 lines, -0 lines 0 comments Download
A sandbox/src/handle_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +88 lines, -0 lines 0 comments Download
A sandbox/src/handle_interception.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +24 lines, -0 lines 0 comments Download
A sandbox/src/handle_interception.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +45 lines, -0 lines 0 comments Download
A sandbox/src/handle_policy.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +41 lines, -0 lines 0 comments Download
A sandbox/src/handle_policy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +71 lines, -0 lines 0 comments Download
A sandbox/src/handle_policy_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +69 lines, -0 lines 0 comments Download
M sandbox/src/ipc_tags.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -1 line 0 comments Download
M sandbox/src/sandbox.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +15 lines, -1 line 0 comments Download
M sandbox/src/sandbox_policy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +5 lines, -2 lines 0 comments Download
M sandbox/src/sandbox_policy_base.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +14 lines, -1 line 0 comments Download
M sandbox/src/target_services.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -0 lines 0 comments Download
M sandbox/src/target_services.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +11 lines, -1 line 0 comments Download
M sandbox/tests/common/controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +14 lines, -1 line 0 comments Download
M sandbox/tests/common/controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +33 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
jschuh
I know stayle tweaks left in the sndbox code, but I'm having an issue with ...
8 years, 9 months ago (2012-03-26 19:22:02 UTC) #1
jschuh
Okay, should be ready for review now.
8 years, 9 months ago (2012-03-26 22:40:50 UTC) #2
rvargas (doing something else)
https://chromiumcodereview.appspot.com/9838083/diff/19011/sandbox/src/handle_dispatcher.cc File sandbox/src/handle_dispatcher.cc (right): https://chromiumcodereview.appspot.com/9838083/diff/19011/sandbox/src/handle_dispatcher.cc#newcode22 sandbox/src/handle_dispatcher.cc:22: nit: remove line https://chromiumcodereview.appspot.com/9838083/diff/19011/sandbox/src/handle_dispatcher.h File sandbox/src/handle_dispatcher.h (right): https://chromiumcodereview.appspot.com/9838083/diff/19011/sandbox/src/handle_dispatcher.h#newcode14 sandbox/src/handle_dispatcher.h:14: ...
8 years, 9 months ago (2012-03-27 00:35:32 UTC) #3
jschuh
https://chromiumcodereview.appspot.com/9838083/diff/19011/sandbox/src/handle_dispatcher.cc File sandbox/src/handle_dispatcher.cc (right): https://chromiumcodereview.appspot.com/9838083/diff/19011/sandbox/src/handle_dispatcher.cc#newcode22 sandbox/src/handle_dispatcher.cc:22: On 2012/03/27 00:35:33, rvargas wrote: > nit: remove line ...
8 years, 9 months ago (2012-03-27 01:36:18 UTC) #4
rvargas (doing something else)
https://chromiumcodereview.appspot.com/9838083/diff/19011/sandbox/src/handle_interception.h File sandbox/src/handle_interception.h (right): https://chromiumcodereview.appspot.com/9838083/diff/19011/sandbox/src/handle_interception.h#newcode9 sandbox/src/handle_interception.h:9: #define SANDBOX_SRC_HANDLE_INTERCEPTION_H__ > I have a DuplicateHandle interception that ...
8 years, 9 months ago (2012-03-27 02:30:59 UTC) #5
jschuh
On 2012/03/27 02:30:59, rvargas wrote: > https://chromiumcodereview.appspot.com/9838083/diff/19011/sandbox/src/handle_interception.h > File sandbox/src/handle_interception.h (right): > > https://chromiumcodereview.appspot.com/9838083/diff/19011/sandbox/src/handle_interception.h#newcode9 > ...
8 years, 9 months ago (2012-03-27 05:29:09 UTC) #6
jschuh
Okay, I moved IsActiveTarget into the BrokerServicesBase class and am grabbing the instance now. So, ...
8 years, 9 months ago (2012-03-27 17:20:32 UTC) #7
rvargas (doing something else)
LGTM https://chromiumcodereview.appspot.com/9838083/diff/18076/sandbox/src/handle_interception.h File sandbox/src/handle_interception.h (right): https://chromiumcodereview.appspot.com/9838083/diff/18076/sandbox/src/handle_interception.h#newcode8 sandbox/src/handle_interception.h:8: #ifndef SANDBOX_SRC_HANDLE_INTERCEPTION_H__ nit: same here. https://chromiumcodereview.appspot.com/9838083/diff/18076/sandbox/src/handle_policy.h File sandbox/src/handle_policy.h ...
8 years, 9 months ago (2012-03-27 17:42:23 UTC) #8
jam
lgtm
8 years, 9 months ago (2012-03-27 19:21:54 UTC) #9
rvargas (doing something else)
I forgot to mention: please make sure you build and run the 64-bit version the ...
8 years, 9 months ago (2012-03-28 00:45:17 UTC) #10
cpu_(ooo_6.6-7.5)
this is easy one Ricardo is done :) lgtm
8 years, 9 months ago (2012-03-28 02:01:29 UTC) #11
nsylvain
A few tiny nits I had a few patchsets ago and lost internet access so ...
8 years, 9 months ago (2012-03-28 13:11:45 UTC) #12
cpu_(ooo_6.6-7.5)
+1 on the inheritance comment by nicolas. On 2012/03/28 13:11:45, nsylvain wrote: > A few ...
8 years, 9 months ago (2012-03-28 22:05:23 UTC) #13
jschuh
http://codereview.chromium.org/9838083/diff/17022/content/common/sandbox_policy.cc File content/common/sandbox_policy.cc (right): http://codereview.chromium.org/9838083/diff/17022/content/common/sandbox_policy.cc#newcode445 content/common/sandbox_policy.cc:445: BOOL inherit_handle, On 2012/03/28 13:11:46, nsylvain wrote: > i ...
8 years, 9 months ago (2012-03-28 22:09:29 UTC) #14
cpu_(ooo_6.6-7.5)
lgtm
8 years, 9 months ago (2012-03-29 02:17:04 UTC) #15
jschuh
The spaghetti handle mess got a little more complicated after I started this patch. So, ...
8 years, 8 months ago (2012-03-30 22:29:42 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jschuh@chromium.org/9838083/41001
8 years, 8 months ago (2012-03-30 22:38:50 UTC) #17
commit-bot: I haz the power
Try job failure for 9838083-41001 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 8 months ago (2012-03-31 01:46:29 UTC) #18
Dan Beam
8 years, 8 months ago (2012-03-31 03:08:09 UTC) #19
ping, this seems to have broken sbox_integration_tests on Win7 Tests (dbg)(3) -
http://build.chromium.org/p/chromium/builders/Win7%20Tests%20%28dbg%29%283%29...

Powered by Google App Engine
This is Rietveld 408576698