summaryrefslogtreecommitdiffhomepage
path: root/test/util/posix_error.cc
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2020-08-17 13:24:09 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-17 13:26:31 -0700
commite3e1b36896750e9c4d07ecb6eaf1a738b08cd876 (patch)
tree0cc08124ea4347874d2429bcaa6fca7fc5d8eff6 /test/util/posix_error.cc
parente3c4bbd10a93ac824af3204c520437f3d5ff470c (diff)
[vfs] Do O_DIRECTORY check after resolving symlinks.
Fixes python runtime test test_glob. Updates #3515 We were checking is the to-be-opened dentry is a dir or not before resolving symlinks. We should check that after resolving symlinks. This was preventing us from opening a symlink which pointed to a directory with O_DIRECTORY. Also added this check in tmpfs and removed a duplicate check. PiperOrigin-RevId: 327085895
Diffstat (limited to 'test/util/posix_error.cc')
0 files changed, 0 insertions, 0 deletions