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

Issue 942933005: ChannelMojo should use PID from the bootstrap Channel. (Closed)

Created:
5 years, 10 months ago by Hajime Morrita
Modified:
5 years, 10 months ago
Reviewers:
agl, viettrungluu
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ChannelMojo should use PID from the bootstrap Channel. The original naive implementation ignores sandboxing limitation. It should ask underlying channel to do it correctly. TEST=IPCChannelMojoTest.VerifyGlobalPid R=agl@chromium.org, viettrungluu@chromium.org BUG=451553 Committed: https://crrev.com/0bd20bd071b18f094999263b377ee58173347567 Cr-Commit-Position: refs/heads/master@{#318099}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -1 line) Patch
M ipc/mojo/ipc_channel_mojo.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ipc/mojo/ipc_channel_mojo_unittest.cc View 1 2 chunks +47 lines, -0 lines 0 comments Download
M ipc/mojo/ipc_mojo_bootstrap.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ipc/mojo/ipc_mojo_bootstrap.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Hajime Morrita
5 years, 10 months ago (2015-02-25 01:40:31 UTC) #1
agl
lgtm https://codereview.chromium.org/942933005/diff/1/ipc/mojo/ipc_channel_mojo_unittest.cc File ipc/mojo/ipc_channel_mojo_unittest.cc (right): https://codereview.chromium.org/942933005/diff/1/ipc/mojo/ipc_channel_mojo_unittest.cc#newcode588 ipc/mojo/ipc_channel_mojo_unittest.cc:588: ListenerThatVerifiesPeerPid() {} Won't the compiler synthesise the empty ...
5 years, 10 months ago (2015-02-25 02:45:29 UTC) #2
Hajime Morrita
Thanks for the review! Landing... https://codereview.chromium.org/942933005/diff/1/ipc/mojo/ipc_channel_mojo_unittest.cc File ipc/mojo/ipc_channel_mojo_unittest.cc (right): https://codereview.chromium.org/942933005/diff/1/ipc/mojo/ipc_channel_mojo_unittest.cc#newcode588 ipc/mojo/ipc_channel_mojo_unittest.cc:588: ListenerThatVerifiesPeerPid() {} On 2015/02/25 ...
5 years, 10 months ago (2015-02-25 19:13:06 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/942933005/20001
5 years, 10 months ago (2015-02-25 19:13:57 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-25 20:11:37 UTC) #7
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 20:12:36 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0bd20bd071b18f094999263b377ee58173347567
Cr-Commit-Position: refs/heads/master@{#318099}

Powered by Google App Engine
This is Rietveld 408576698