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

Issue 9960045: Add sandbox support for associating peer processes (Closed)

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

Description

Add sandbox support for associating peer processes TEST=HandlePolicyTest.DuplicatePeerHandle Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=131940 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=132112

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 6

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -28 lines) Patch
M sandbox/src/broker_services.h View 1 2 3 4 5 6 7 6 chunks +19 lines, -10 lines 0 comments Download
M sandbox/src/broker_services.cc View 1 2 3 4 5 6 7 8 9 5 chunks +89 lines, -3 lines 0 comments Download
M sandbox/src/handle_policy_test.cc View 1 2 3 4 5 6 7 1 chunk +22 lines, -0 lines 0 comments Download
M sandbox/src/sandbox.h View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M sandbox/tests/common/controller.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M sandbox/tests/common/controller.cc View 1 2 3 4 5 6 7 4 chunks +30 lines, -14 lines 0 comments Download
M sandbox/tests/integration_tests/integration_tests.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
jschuh
8 years, 8 months ago (2012-04-09 21:46:44 UTC) #1
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/9960045/diff/3002/sandbox/src/broker_services.cc File sandbox/src/broker_services.cc (right): http://codereview.chromium.org/9960045/diff/3002/sandbox/src/broker_services.cc#newcode334 sandbox/src/broker_services.cc:334: FALSE, 0)) { UnregisterWaitEx with some magic params. http://codereview.chromium.org/9960045/diff/3002/sandbox/src/broker_services.cc#newcode338 ...
8 years, 8 months ago (2012-04-09 23:17:40 UTC) #2
jschuh
http://codereview.chromium.org/9960045/diff/3002/sandbox/src/broker_services.cc File sandbox/src/broker_services.cc (right): http://codereview.chromium.org/9960045/diff/3002/sandbox/src/broker_services.cc#newcode334 sandbox/src/broker_services.cc:334: FALSE, 0)) { On 2012/04/09 23:17:40, cpu wrote: > ...
8 years, 8 months ago (2012-04-10 00:10:11 UTC) #3
jschuh
I realized I had a shutdown race so I had to modify the code to ...
8 years, 8 months ago (2012-04-10 17:43:08 UTC) #4
cpu_(ooo_6.6-7.5)
lgtm http://codereview.chromium.org/9960045/diff/17/sandbox/src/broker_services.h File sandbox/src/broker_services.h (right): http://codereview.chromium.org/9960045/diff/17/sandbox/src/broker_services.h#newcode70 sandbox/src/broker_services.h:70: typedef struct PeerTracker { please add a fwd ...
8 years, 8 months ago (2012-04-10 22:00:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jschuh@chromium.org/9960045/19001
8 years, 8 months ago (2012-04-10 22:14:49 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/9960045/50001
8 years, 8 months ago (2012-04-12 01:48:49 UTC) #7
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/9960045/diff/50001/sandbox/src/broker_services.cc File sandbox/src/broker_services.cc (right): http://codereview.chromium.org/9960045/diff/50001/sandbox/src/broker_services.cc#newcode114 sandbox/src/broker_services.cc:114: } sounds like you want peer_map.clear() after 113 so ...
8 years, 8 months ago (2012-04-12 02:17:52 UTC) #8
jschuh
http://codereview.chromium.org/9960045/diff/50001/sandbox/src/broker_services.cc File sandbox/src/broker_services.cc (right): http://codereview.chromium.org/9960045/diff/50001/sandbox/src/broker_services.cc#newcode114 sandbox/src/broker_services.cc:114: } On 2012/04/12 02:17:52, cpu wrote: > sounds like ...
8 years, 8 months ago (2012-04-12 03:04:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jschuh@chromium.org/9960045/50004
8 years, 8 months ago (2012-04-12 03:13:04 UTC) #10
commit-bot: I haz the power
Change committed as 131940
8 years, 8 months ago (2012-04-12 06:01:02 UTC) #11
jschuh
After going through this, I don't think there's any safe way to use RegisterWaitForSingleObject here. ...
8 years, 8 months ago (2012-04-12 17:19:44 UTC) #12
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/9960045/diff/52001/sandbox/src/broker_services.cc File sandbox/src/broker_services.cc (right): http://codereview.chromium.org/9960045/diff/52001/sandbox/src/broker_services.cc#newcode413 sandbox/src/broker_services.cc:413: if (!::PulseEvent(peer_event_)) nooooo....
8 years, 8 months ago (2012-04-12 19:59:09 UTC) #13
jschuh
Okay, moved all the peer map handling onto worker thread, where it's serialized and terminated ...
8 years, 8 months ago (2012-04-12 22:10:54 UTC) #14
cpu_(ooo_6.6-7.5)
lgtm http://codereview.chromium.org/9960045/diff/55001/sandbox/src/broker_services.cc File sandbox/src/broker_services.cc (right): http://codereview.chromium.org/9960045/diff/55001/sandbox/src/broker_services.cc#newcode45 sandbox/src/broker_services.cc:45: THREAD_CTRL_REMOVE_PEER, please leave ctrl_quit last. http://codereview.chromium.org/9960045/diff/55001/sandbox/src/broker_services.cc#newcode63 sandbox/src/broker_services.cc:63: DWORD ...
8 years, 8 months ago (2012-04-13 00:13:03 UTC) #15
jschuh
http://codereview.chromium.org/9960045/diff/55001/sandbox/src/broker_services.cc File sandbox/src/broker_services.cc (right): http://codereview.chromium.org/9960045/diff/55001/sandbox/src/broker_services.cc#newcode45 sandbox/src/broker_services.cc:45: THREAD_CTRL_REMOVE_PEER, On 2012/04/13 00:13:03, cpu wrote: > please leave ...
8 years, 8 months ago (2012-04-13 00:25:43 UTC) #16
commit-bot: I haz the power
8 years, 8 months ago (2012-04-13 00:26:31 UTC) #17

Powered by Google App Engine
This is Rietveld 408576698