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

Issue 547713002: [NaCl SDK] nacl_io: Always create directory node in http filesystem root. (Closed)

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

Description

[NaCl SDK] nacl_io: Always create directory node in http filesystem root. The root of all filesystems should be a directory node except in the special case of blob URL where we maintain the legacy behavior of having the mount point be a file containing the blob content. Also, fix the Access() call for http filesystem so that it honors the access bits of the node itself. This fixes an issue in naclports where a mount() of an http filsystem followed by a chdir(http_root) would always fail with ENOTDIR. TEST=nacl_io_test Committed: https://crrev.com/eed34ebc773dc3372565ac0b3a0ecea1a94a2631 Cr-Commit-Position: refs/heads/master@{#294000}

Patch Set 1 #

Patch Set 2 : restore old blob behaviour #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -58 lines) Patch
M native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc View 1 2 13 chunks +61 lines, -41 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.h View 1 chunk +0 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/node.h View 1 chunk +1 line, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/node.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc View 1 4 chunks +30 lines, -11 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
Sam Clegg
6 years, 3 months ago (2014-09-05 22:49:08 UTC) #2
binji
What is the bug in naclports? If you mount a blob, then in a sense ...
6 years, 3 months ago (2014-09-08 18:25:34 UTC) #3
Sam Clegg
On 2014/09/08 18:25:34, binji wrote: > What is the bug in naclports? If you mount ...
6 years, 3 months ago (2014-09-08 18:31:00 UTC) #4
binji
On 2014/09/08 18:31:00, Sam Clegg wrote: > On 2014/09/08 18:25:34, binji wrote: > > What ...
6 years, 3 months ago (2014-09-08 18:52:52 UTC) #5
Sam Clegg
Done.
6 years, 3 months ago (2014-09-08 23:31:02 UTC) #6
binji
lgtm
6 years, 3 months ago (2014-09-09 17:08:01 UTC) #7
Sam Clegg
Tracked down an uninitialized member variable (is_blob_url_). In doing so, factored out FindExistingNode(). PTAL.
6 years, 3 months ago (2014-09-09 17:50:33 UTC) #8
binji
On 2014/09/09 17:50:33, Sam Clegg wrote: > Tracked down an uninitialized member variable (is_blob_url_). > ...
6 years, 3 months ago (2014-09-09 19:02:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sbc@chromium.org/547713002/40001
6 years, 3 months ago (2014-09-09 19:16:16 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 8705bc9f7a4803563ad712ef0dd76795dd47dd11
6 years, 3 months ago (2014-09-09 20:32:06 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:55:18 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/eed34ebc773dc3372565ac0b3a0ecea1a94a2631
Cr-Commit-Position: refs/heads/master@{#294000}

Powered by Google App Engine
This is Rietveld 408576698