summaryrefslogtreecommitdiffhomepage
path: root/runsc/fsgofer/BUILD
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 /runsc/fsgofer/BUILD
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 'runsc/fsgofer/BUILD')
-rw-r--r--runsc/fsgofer/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/fsgofer/BUILD b/runsc/fsgofer/BUILD
index 1036b0630..05e3637f7 100644
--- a/runsc/fsgofer/BUILD
+++ b/runsc/fsgofer/BUILD
@@ -31,5 +31,6 @@ go_test(
deps = [
"//pkg/log",
"//pkg/p9",
+ "//pkg/test/testutil",
],
)