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

Issue 13011002: Support FD passing for NaCl on posix (Closed)

Created:
7 years, 9 months ago by hamaji
Modified:
7 years, 9 months ago
CC:
chromium-reviews, native-client-reviews_googlegroups.com
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Support FD passing for NaCl on posix We need this to make GetOSFileDescriptor work from NaCl module. R=bradchen@chromium.org, bradnelson@chromium.org, bbudge@chromium.org BUG=183015 TEST=locally tested with modified examples/file_io and https://codereview.chromium.org/13032002/. The 13032002 will also test this change as the test modified in 13032002 seems to run on NaCl Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190552

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : remove reinterpret_cast for shmem #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -5 lines) Patch
M chrome/nacl/nacl_ipc_adapter.cc View 1 2 3 4 5 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
hamaji
As I've written in the CL description, I have no idea how to support windows ...
7 years, 9 months ago (2013-03-22 01:40:20 UTC) #1
Mark Seaborn
On 2013/03/22 01:40:20, hamaji wrote: > As I've written in the CL description, I have ...
7 years, 9 months ago (2013-03-22 03:15:47 UTC) #2
Mark Seaborn
https://codereview.chromium.org/13011002/diff/1/chrome/nacl/nacl_ipc_adapter.cc File chrome/nacl/nacl_ipc_adapter.cc (right): https://codereview.chromium.org/13011002/diff/1/chrome/nacl/nacl_ipc_adapter.cc#newcode421 chrome/nacl/nacl_ipc_adapter.cc:421: reinterpret_cast<NaClHostDesc*>(malloc(sizeof(*nhdp))); Please don't open-code the creation of a NaClHostDesc ...
7 years, 9 months ago (2013-03-22 03:19:45 UTC) #3
Brad Chen
https://codereview.chromium.org/13011002/diff/1/chrome/nacl/nacl_ipc_adapter.cc File chrome/nacl/nacl_ipc_adapter.cc (right): https://codereview.chromium.org/13011002/diff/1/chrome/nacl/nacl_ipc_adapter.cc#newcode417 chrome/nacl/nacl_ipc_adapter.cc:417: // TODO(raymes): Handle file handles for NaCl on Windows. ...
7 years, 9 months ago (2013-03-22 17:30:25 UTC) #4
Brad Chen
BBudge ought to have a better idea than me about the Windows question. He or ...
7 years, 9 months ago (2013-03-22 17:31:56 UTC) #5
bbudge
https://codereview.chromium.org/13011002/diff/1/chrome/nacl/nacl_ipc_adapter.cc File chrome/nacl/nacl_ipc_adapter.cc (right): https://codereview.chromium.org/13011002/diff/1/chrome/nacl/nacl_ipc_adapter.cc#newcode417 chrome/nacl/nacl_ipc_adapter.cc:417: // TODO(raymes): Handle file handles for NaCl on Windows. ...
7 years, 9 months ago (2013-03-22 17:50:05 UTC) #6
hamaji
As we have https://codereview.chromium.org/12929033/ in native client code and Mark did NaCl roll (http://src.chromium.org/viewvc/chrome?view=rev&revision=190105) now, ...
7 years, 9 months ago (2013-03-25 06:01:12 UTC) #7
bbudge
lgtm
7 years, 9 months ago (2013-03-25 14:07:30 UTC) #8
Mark Seaborn
LGTM. Can you add a TEST= field to say how you tested this or say ...
7 years, 9 months ago (2013-03-25 14:19:16 UTC) #9
hamaji
On 2013/03/25 14:19:16, Mark Seaborn wrote: > LGTM. Can you add a TEST= field to ...
7 years, 9 months ago (2013-03-25 18:11:35 UTC) #10
Mark Seaborn
LGTM On 25 March 2013 11:11, <hamaji@chromium.org> wrote: > On 2013/03/25 14:19:16, Mark Seaborn wrote: ...
7 years, 9 months ago (2013-03-25 18:46:38 UTC) #11
Mark Seaborn
LGTM On 25 March 2013 11:11, <hamaji@chromium.org> wrote: > On 2013/03/25 14:19:16, Mark Seaborn wrote: ...
7 years, 9 months ago (2013-03-25 18:46:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hamaji@chromium.org/13011002/26001
7 years, 9 months ago (2013-03-25 21:02:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hamaji@chromium.org/13011002/26001
7 years, 9 months ago (2013-03-25 21:16:28 UTC) #14
hamaji
7 years, 9 months ago (2013-03-26 04:11:43 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 manually as r190552 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698