New issue
Advanced search Search tips

Issue 876525 link

Starred by 2 users

Issue metadata

Status: Available
Merged: issue 872778
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Add hooks for shared memory creation

Project Member Reported by dcheng@chromium.org, Aug 21

Issue description

This would allow shared memory creation to be brokered by Mojo as needed in sandboxed processes.
 
Mergedinto: 872778
Status: Duplicate (was: Available)
This is a duplicate of the  issue 872778  if I understand your description correctly.
Status: Available (was: Duplicate)
Actually not, this issue was created because of the fix for  crbug.com/872778  :)

The fix for 872778 adds brokered creation methods to mojo, and adds comments to base referring to mojo.

This bug is a possible next step, to add hooks to base so that brokering can be done directly.

I personally think this is going to be hard in practice: most brokering implementations are going to use mojo, and so this will end up adding a practical dependency on mojo anyway.

But I have to think about it more.
I think it's OK if the injected implementation depends on Mojo. The point of this is so that individual callers can have a consistent interface to create shared memory, rather than having to remember to sometimes go through Mojo. The consistent interface will Just Work because the bootstrap process should configure the hooks as needed for a given process type.
Components: -Internals
Cc: -roc...@chromium.org rockot@google.com

Sign in to add a comment