New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 692619 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Migrate from base::GlobalDescriptors to base::FileDescriptorStore

Project Member Reported by jcivelli@chromium.org, Feb 15 2017

Issue description

base::GlobalDescriptors is used to share file descriptors when forking processes. So far, keys are hard-coded.
Different modules using it have to agree on which range of these keys they use as to avoid collisions. Also there is quite a bit of logic that goes into mapping these FDs to a specific slot in the child process.

We should switch to having the FDs not having fixed values in the child process. Instead they would be passed to the child process with no extra work to ensure they are at a fixed slot. They would be identified by a string ID and registered in the FileDescriptorStore.


 
Status: Assigned (was: Untriaged)

Sign in to add a comment