summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/fdpipe/pipe_test.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-07-23 11:00:35 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-23 11:02:35 -0700
commit384369e01e653e0a2ea976d2063ba19a9c2cbbc8 (patch)
treefc1d6ad85edd9755104cc888791507790068a017 /pkg/sentry/fs/fdpipe/pipe_test.go
parentb396d3882ccccc82e1a3c799c7a291d47c43c2c8 (diff)
Fix fsgofer Open() when control file is using O_PATH
Open tries to reuse the control file to save syscalls and file descriptors when opening a file. However, when the control file was opened using O_PATH (e.g. no file permission to open readonly), Open() would not check for it. PiperOrigin-RevId: 322821729
Diffstat (limited to 'pkg/sentry/fs/fdpipe/pipe_test.go')
0 files changed, 0 insertions, 0 deletions