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

Issue 1408473002: ChildPortHandshake: allow receive rights to be received (Closed)

Created:
5 years, 2 months ago by Mark Mentovai
Modified:
5 years, 1 month ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

mac: ChildPortHandshake: allow receive rights to be sent The intended use is to flip the client-server relationship in CrashpadClient so that the initial client (parent process) furnishes the handler process with a receive right. The parent can optionally receive a port-destroyed notification allowing it to restart the handler if it exits prematurely. R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/062138106c247191bb611de861ffe2cc83abc560

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : rebase #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : Address review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+780 lines, -274 lines) Patch
M client/crashpad_client_mac.cc View 1 2 3 5 chunks +7 lines, -4 lines 0 comments Download
M handler/main.cc View 1 2 2 chunks +7 lines, -3 lines 0 comments Download
M util/mach/child_port.defs View 2 chunks +5 lines, -7 lines 0 comments Download
M util/mach/child_port_handshake.h View 1 2 3 4 5 5 chunks +194 lines, -94 lines 0 comments Download
M util/mach/child_port_handshake.cc View 1 2 3 4 5 9 chunks +183 lines, -75 lines 0 comments Download
M util/mach/child_port_handshake_test.cc View 1 2 3 4 5 1 chunk +277 lines, -83 lines 0 comments Download
M util/mach/mach_message.h View 1 chunk +15 lines, -0 lines 0 comments Download
M util/mach/mach_message.cc View 1 2 3 4 2 chunks +34 lines, -0 lines 0 comments Download
M util/mach/mach_message_server_test.cc View 1 2 3 4 chunks +8 lines, -8 lines 0 comments Download
M util/mach/mach_message_test.cc View 1 2 3 4 2 chunks +50 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
Mark Mentovai
5 years, 2 months ago (2015-10-20 17:37:45 UTC) #4
Robert Sesek
LGTM - sorry for the delay https://codereview.chromium.org/1408473002/diff/120001/util/mach/child_port_handshake.cc File util/mach/child_port_handshake.cc (right): https://codereview.chromium.org/1408473002/diff/120001/util/mach/child_port_handshake.cc#newcode44 util/mach/child_port_handshake.cc:44: class ChildPortHandshakeServer : ...
5 years, 1 month ago (2015-10-28 21:40:03 UTC) #6
Mark Mentovai
Updated. Thanks for the review. https://codereview.chromium.org/1408473002/diff/120001/util/mach/child_port_handshake.h File util/mach/child_port_handshake.h (right): https://codereview.chromium.org/1408473002/diff/120001/util/mach/child_port_handshake.h#newcode82 util/mach/child_port_handshake.h:82: //! or launchd interfaces. ...
5 years, 1 month ago (2015-10-29 16:53:13 UTC) #7
Robert Sesek
LGTM https://codereview.chromium.org/1408473002/diff/120001/util/mach/child_port_handshake.h File util/mach/child_port_handshake.h (right): https://codereview.chromium.org/1408473002/diff/120001/util/mach/child_port_handshake.h#newcode82 util/mach/child_port_handshake.h:82: //! or launchd interfaces. On 2015/10/29 16:53:13, Mark ...
5 years, 1 month ago (2015-10-29 17:45:20 UTC) #8
Mark Mentovai
5 years, 1 month ago (2015-10-29 18:14:21 UTC) #9
Message was sent while issue was closed.
Committed patchset #6 (id:140001) manually as
062138106c247191bb611de861ffe2cc83abc560 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698