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 : #
Messages
Total messages: 13 (2 generated)
|