diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-07-23 11:00:35 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-23 11:02:35 -0700 |
commit | 384369e01e653e0a2ea976d2063ba19a9c2cbbc8 (patch) | |
tree | fc1d6ad85edd9755104cc888791507790068a017 /runsc/boot/fs_test.go | |
parent | b396d3882ccccc82e1a3c799c7a291d47c43c2c8 (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 'runsc/boot/fs_test.go')
0 files changed, 0 insertions, 0 deletions