summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/pipe/BUILD
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2019-10-17 13:08:27 -0700
committergVisor bot <gvisor-bot@google.com>2019-10-17 13:11:07 -0700
commitdfdbdf14fa101e850bb3361f91da6362b98d11d0 (patch)
tree85557390981d997b5ff13fccc672c0925aff1bdd /pkg/sentry/kernel/pipe/BUILD
parent962aa235de4e614147dd00b55967614e93ba2660 (diff)
Refactor pipe to support VFS2.
* Pulls common functionality (IO and locking on open) into pipe_util.go. * Adds pipe/vfs.go, which implements a subset of vfs.FileDescriptionImpl. A subsequent change will add support for pipes in memfs. PiperOrigin-RevId: 275322385
Diffstat (limited to 'pkg/sentry/kernel/pipe/BUILD')
-rw-r--r--pkg/sentry/kernel/pipe/BUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/pipe/BUILD b/pkg/sentry/kernel/pipe/BUILD
index cde647139..9d34f6d4d 100644
--- a/pkg/sentry/kernel/pipe/BUILD
+++ b/pkg/sentry/kernel/pipe/BUILD
@@ -24,8 +24,10 @@ go_library(
"device.go",
"node.go",
"pipe.go",
+ "pipe_util.go",
"reader.go",
"reader_writer.go",
+ "vfs.go",
"writer.go",
],
importpath = "gvisor.dev/gvisor/pkg/sentry/kernel/pipe",
@@ -40,6 +42,7 @@ go_library(
"//pkg/sentry/fs/fsutil",
"//pkg/sentry/safemem",
"//pkg/sentry/usermem",
+ "//pkg/sentry/vfs",
"//pkg/syserror",
"//pkg/waiter",
],