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

Issue 565763002: Plumbing though mode parameter to open, since fusefs can make use of it. (Closed)

Created:
6 years, 3 months ago by bradn
Modified:
6 years, 3 months ago
Reviewers:
binji, Sam Clegg
CC:
chromium-reviews, binji+watch_chromium.org, Sam Clegg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Plumbing though mode parameter to open, since fusefs can make use of it. Hooking it up where it makes sense in other mounts. BUG=https://code.google.com/p/chromium/issues/detail?id=413397 TEST=None R=binji@chromium.org Committed: https://crrev.com/4af11334ed84a0280f0b0d2eedb2efd748f20b72 Cr-Commit-Position: refs/heads/master@{#294561}

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 12

Patch Set 3 : fix more #

Patch Set 4 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -112 lines) Patch
M native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/filesystem.h View 1 2 3 1 chunk +11 lines, -3 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/filesystem.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc View 1 2 3 4 chunks +5 lines, -2 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/jsfs/js_fs.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/jsfs/js_fs.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_intercept.h View 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_object.h View 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_object.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_proxy.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc View 1 2 3 5 chunks +8 lines, -8 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_dummy.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_win.cc View 2 chunks +1 line, -5 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/stream/stream_fs.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/stream/stream_fs.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/event_test.cc View 1 2 3 3 chunks +6 lines, -6 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc View 1 2 3 6 chunks +17 lines, -4 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/kernel_object_test.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc View 1 2 3 22 chunks +43 lines, -33 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/mock_fs.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/mock_kernel_proxy.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/tty_test.cc View 1 2 3 6 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
bradn
6 years, 3 months ago (2014-09-11 21:53:42 UTC) #1
bradn
Wait forgot the tests...
6 years, 3 months ago (2014-09-11 21:57:19 UTC) #2
Sam Clegg
Ben and I have been chatting about the approach to use here. I'm afraid our ...
6 years, 3 months ago (2014-09-11 22:22:50 UTC) #4
bradn
That sounds much better. Let me give it a go and I'll cry uncle if ...
6 years, 3 months ago (2014-09-11 22:29:49 UTC) #5
bradn
6 years, 3 months ago (2014-09-11 23:38:59 UTC) #6
Sam Clegg
Much better! lgtm, pending any comments from ben. https://codereview.chromium.org/565763002/diff/20001/native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc File native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc (right): https://codereview.chromium.org/565763002/diff/20001/native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc#newcode202 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc:202: int ...
6 years, 3 months ago (2014-09-11 23:47:09 UTC) #7
binji
lgtm w/ nits https://codereview.chromium.org/565763002/diff/20001/native_client_sdk/src/libraries/nacl_io/filesystem.h File native_client_sdk/src/libraries/nacl_io/filesystem.h (right): https://codereview.chromium.org/565763002/diff/20001/native_client_sdk/src/libraries/nacl_io/filesystem.h#newcode76 native_client_sdk/src/libraries/nacl_io/filesystem.h:76: virtual Error Open(const Path& path, make ...
6 years, 3 months ago (2014-09-11 23:51:41 UTC) #8
binji
Oh, and what about tests...? :)
6 years, 3 months ago (2014-09-11 23:52:04 UTC) #9
bradn
Added some tests. https://codereview.chromium.org/565763002/diff/20001/native_client_sdk/src/libraries/nacl_io/filesystem.h File native_client_sdk/src/libraries/nacl_io/filesystem.h (right): https://codereview.chromium.org/565763002/diff/20001/native_client_sdk/src/libraries/nacl_io/filesystem.h#newcode76 native_client_sdk/src/libraries/nacl_io/filesystem.h:76: virtual Error Open(const Path& path, On ...
6 years, 3 months ago (2014-09-12 06:17:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/565763002/60001
6 years, 3 months ago (2014-09-12 07:30:50 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001) as cd06831942e242c0e66efffe360632a978de7f52
6 years, 3 months ago (2014-09-12 09:38:24 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 09:40:43 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4af11334ed84a0280f0b0d2eedb2efd748f20b72
Cr-Commit-Position: refs/heads/master@{#294561}

Powered by Google App Engine
This is Rietveld 408576698