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

Issue 2488253003: Removing 16MB size limit for Mojo buffers. (Closed)

Created:
4 years, 1 month ago by Jay Civelli
Modified:
4 years, 1 month ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), gavinp+memory_chromium.org, mac-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Removing the Mojo buffers 16MB size limit. It is causing problems as we are migrating the current Chrome IPC messages to mojo and are starting to use Mojo buffers to replace the existing SharedMemory instances directly passed in IPC messages. Since Mojo buffer use SharedMemory, get rid of the check at the mojo level and rely on SharedMemory limit. BUG=664239 Committed: https://crrev.com/f093c54710346e88480688d71b1116be793919ff Cr-Commit-Position: refs/heads/master@{#431590}

Patch Set 1 #

Patch Set 2 : Comment change. #

Patch Set 3 : Addressing @rockot comment #

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

Messages

Total messages: 27 (15 generated)
Jay Civelli
4 years, 1 month ago (2016-11-10 18:57:00 UTC) #6
Ken Rockot(use gerrit already)
Actually, unless dcheng@ disagrees, because we just use base::SharedMemory for the internal allocation anyway, and ...
4 years, 1 month ago (2016-11-10 19:00:15 UTC) #7
Jay Civelli
On 2016/11/10 19:00:15, Ken Rockot wrote: > Actually, unless dcheng@ disagrees, because we just use ...
4 years, 1 month ago (2016-11-10 19:07:59 UTC) #9
dcheng
I'm no longer an owner of anything in this CL, but sounds reasonable to me: ...
4 years, 1 month ago (2016-11-10 22:38:17 UTC) #14
Ken Rockot(use gerrit already)
Oh, I think we just wanted a security eye on this since it technically expands ...
4 years, 1 month ago (2016-11-10 22:39:54 UTC) #15
dcheng
LGTM from a security perspective, since we couldn't really enforce limit with legacy IPC anyway.
4 years, 1 month ago (2016-11-10 22:45:57 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2488253003/40001
4 years, 1 month ago (2016-11-11 17:11:08 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/302382)
4 years, 1 month ago (2016-11-11 17:20:22 UTC) #20
Ken Rockot(use gerrit already)
Woops. Thought I already stamped it. LGTM
4 years, 1 month ago (2016-11-11 17:24:08 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2488253003/40001
4 years, 1 month ago (2016-11-11 17:24:40 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-11 17:52:44 UTC) #25
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 17:57:34 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f093c54710346e88480688d71b1116be793919ff
Cr-Commit-Position: refs/heads/master@{#431590}

Powered by Google App Engine
This is Rietveld 408576698