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

Issue 748350 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Fuchsia
Pri: 2
Type: Bug



Sign in to add a comment

Update remaining LaunchProcess call-sites that use FileHandleMappingVector for Fuchsia.

Project Member Reported by w...@chromium.org, Jul 25 2017

Issue description

We still have LaunchProcess call-sites, e.g. in test process utils, which reply on the FileHandleMappingVector structure being present in the options structure - the Fuchsia implementation of LaunchProcess ignores the structure, and the tests which actually use it are filtered-out on Fuchsia.

Once the call-sites are updated, we can have FileHandleMappingVector only be defined on non-Fuchsia POSIX platforms.
 

Comment 1 by w...@chromium.org, Jul 25 2017

Owner: w...@chromium.org
Status: Assigned (was: Untriaged)
Project Member

Comment 2 by bugdroid1@chromium.org, Jul 25 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/50ccafde647905f95176e03d938fdbce4292d694

commit 50ccafde647905f95176e03d938fdbce4292d694
Author: Wez <wez@chromium.org>
Date: Tue Jul 25 04:11:31 2017

Leave FileHandleMappingVector defined even in Fuchsia builds.

Fuchsia still builds some LaunchProcess() call-sites as POSIX, meaning
that they rely on the FileHandleMappingVector type. To un-break the
build, define the type under all POSIX platforms, until we have all the
call-sites fixed.

TBR: brettw@chromium.org
Bug:  748350 
Change-Id: I624f2eac1381743df64d285a2629bad358468d76
Reviewed-on: https://chromium-review.googlesource.com/583957
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#489226}
[modify] https://crrev.com/50ccafde647905f95176e03d938fdbce4292d694/base/process/launch.h

Comment 3 by w...@chromium.org, Aug 2 2017

Correction: LaunchProcess for Fuchsia does respect FileHandleMappingVector, otherwise the TestLauncher itself wouldn't work, so defining FileHandleMappingVector for all POSIX does make sense after all.

Comment 4 by w...@chromium.org, Aug 3 2017

Status: Fixed (was: Assigned)

Sign in to add a comment