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

Issue 131133002: Implement nacl_irt_fdio for non-sfi mode. (Closed)

Created:
6 years, 11 months ago by hidehiko
Modified:
6 years, 11 months ago
Reviewers:
Mark Seaborn, hamaji
CC:
chromium-reviews, hamaji
Visibility:
Public.

Description

Implement nacl_irt_fdio for non-sfi mode. This CL implements nacl_irt_fdio for non-sfi mode. Note that getdents is currently not supported because there is no good way to implement it in a sane manner. Now it always returns ENOSYS. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3734 TEST=Tried to call a newly added function from plugin via AT_SYSINFO. TEST=Make sure lseek and fstat refer to lseek64 and __fxstat64. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244893

Patch Set 1 : #

Total comments: 16

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -1 line) Patch
M components/nacl.gyp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A components/nacl/loader/nonsfi/abi_conversion.h View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
A components/nacl/loader/nonsfi/abi_conversion.cc View 1 1 chunk +61 lines, -0 lines 0 comments Download
A components/nacl/loader/nonsfi/irt_fdio.cc View 1 2 1 chunk +110 lines, -0 lines 0 comments Download
M components/nacl/loader/nonsfi/irt_interfaces.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/loader/nonsfi/irt_interfaces.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
hidehiko
Hi Mark, Could you take a look at this CL? This CL is based on ...
6 years, 11 months ago (2014-01-09 10:04:59 UTC) #1
hidehiko
On 2014/01/09 10:04:59, hidehiko wrote: > Hi Mark, > > Could you take a look ...
6 years, 11 months ago (2014-01-09 10:07:35 UTC) #2
hamaji
https://codereview.chromium.org/131133002/diff/100001/components/nacl/loader/nonsfi/irt_fdio.cc File components/nacl/loader/nonsfi/irt_fdio.cc (right): https://codereview.chromium.org/131133002/diff/100001/components/nacl/loader/nonsfi/irt_fdio.cc#newcode61 components/nacl/loader/nonsfi/irt_fdio.cc:61: off_t result = ::lseek(fd, offset, whence); Same as fstat. ...
6 years, 11 months ago (2014-01-09 10:47:22 UTC) #3
hidehiko
Thank you for your quick review. PTAL? https://codereview.chromium.org/131133002/diff/100001/components/nacl/loader/nonsfi/irt_fdio.cc File components/nacl/loader/nonsfi/irt_fdio.cc (right): https://codereview.chromium.org/131133002/diff/100001/components/nacl/loader/nonsfi/irt_fdio.cc#newcode61 components/nacl/loader/nonsfi/irt_fdio.cc:61: off_t result ...
6 years, 11 months ago (2014-01-09 12:41:18 UTC) #4
Mark Seaborn
LGTM https://codereview.chromium.org/131133002/diff/280001/components/nacl/loader/nonsfi/abi_conversion.cc File components/nacl/loader/nonsfi/abi_conversion.cc (right): https://codereview.chromium.org/131133002/diff/280001/components/nacl/loader/nonsfi/abi_conversion.cc#newcode8 components/nacl/loader/nonsfi/abi_conversion.cc:8: #include <cstring> Nit: sort #includes within block https://codereview.chromium.org/131133002/diff/280001/components/nacl/loader/nonsfi/abi_conversion.h ...
6 years, 11 months ago (2014-01-10 13:11:20 UTC) #5
Mark Seaborn
One more thing... https://codereview.chromium.org/131133002/diff/280001/components/nacl/loader/nonsfi/irt_interfaces.cc File components/nacl/loader/nonsfi/irt_interfaces.cc (right): https://codereview.chromium.org/131133002/diff/280001/components/nacl/loader/nonsfi/irt_interfaces.cc#newcode26 components/nacl/loader/nonsfi/irt_interfaces.cc:26: NACL_INTERFACE_TABLE(NACL_IRT_FDIO_v0_1, kIrtFdIO), This should be NACL_IRT_DEV_FDIO_v0_1. ...
6 years, 11 months ago (2014-01-10 13:37:23 UTC) #6
hidehiko
Thank you for your review. Submitting... https://codereview.chromium.org/131133002/diff/280001/components/nacl/loader/nonsfi/abi_conversion.cc File components/nacl/loader/nonsfi/abi_conversion.cc (right): https://codereview.chromium.org/131133002/diff/280001/components/nacl/loader/nonsfi/abi_conversion.cc#newcode8 components/nacl/loader/nonsfi/abi_conversion.cc:8: #include <cstring> On ...
6 years, 11 months ago (2014-01-15 03:50:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/131133002/420001
6 years, 11 months ago (2014-01-15 05:51:44 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-15 16:23:15 UTC) #9
Message was sent while issue was closed.
Change committed as 244893

Powered by Google App Engine
This is Rietveld 408576698