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

Issue 1957893002: Avoid initializing child processes with an invalid parent pipe (Closed)

Created:
4 years, 7 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 7 months ago
Reviewers:
govind1, govind
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@2661
Target Ref:
refs/pending/branch-heads/2661
Project:
chromium
Visibility:
Public.

Description

Avoid initializing child processes with an invalid parent pipe Elevated child processes cannot receive duplicated handles from the browser in the same way that other child processes can. If an elevated utility process attempts to initialize Mojo IPC, it will CHECK fail when trying to use an invalid handle as a result of this limitation. In M51+ we no longer attempt to initialize Mojo IPC in elevated utility processes, but this change in behavior was developed over several moderately complex patches. In order to avoid merging said patches into M50, this avoids the crash in bug 607677 by allowing initialization to fail silently instead of CHECKing. This silent failure has no interesting side effects, as Mojo IPC is not yet used in any elevated utility process. BUG=607677 R=govind@google.com TBR=amistry@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/ec1542863ff8f48a729f50aea14894b7998fd6e1

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M mojo/edk/system/core.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (5 generated)
Ken Rockot(use gerrit already)
Hi govind@, could you please approve this change to land directly in 2661? This is ...
4 years, 7 months ago (2016-05-07 21:07:00 UTC) #3
chromium-reviews
+ Tinazh (Chrome Desktop M50 TPM) Thank you rockot@. I'm kind of new this direct ...
4 years, 7 months ago (2016-05-07 21:42:03 UTC) #4
chromium-reviews
Tina, please see rockot@'s update in bug https://bugs.chromium.org/p/chromium/issues/detail?id=607677#c40. This will help you understand why CL ...
4 years, 7 months ago (2016-05-07 21:50:24 UTC) #5
chromium-reviews
Given the situation, sgtm to land the change directly, pls trigger a build to verify ...
4 years, 7 months ago (2016-05-07 23:20:47 UTC) #6
govind
On 2016/05/07 23:20:47, chromium-reviews wrote: > Given the situation, sgtm to land the change directly, ...
4 years, 7 months ago (2016-05-07 23:40:06 UTC) #8
chromium-reviews
Thank you Tina. Ken, please go ahead and submit the cl. I will trigger M50 ...
4 years, 7 months ago (2016-05-07 23:42:48 UTC) #9
Ken Rockot(use gerrit already)
I can't seem to land this CL. Getting authentication errors for https://chromium.googlesource.com. Can I not ...
4 years, 7 months ago (2016-05-08 00:07:18 UTC) #11
tinazh1
On 2016/05/08 00:07:18, Ken Rockot wrote: > I can't seem to land this CL. Getting ...
4 years, 7 months ago (2016-05-08 00:31:03 UTC) #12
Ken Rockot(use gerrit already)
4 years, 7 months ago (2016-05-08 00:36:18 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
ec1542863ff8f48a729f50aea14894b7998fd6e1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698