summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/sockfs/BUILD
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2020-03-31 19:15:55 -0700
committergVisor bot <gvisor-bot@google.com>2020-03-31 19:17:12 -0700
commit639d94f9f71b43e86320a6e9157c932f5d7936a7 (patch)
treea348cdead215f774e5d8f691aa358ec53654d690 /pkg/sentry/fsimpl/sockfs/BUILD
parent57e67e32b59a30365a79f6dceb3e0cb772407029 (diff)
Add socket filesystem and global disconnected socket mount for VFS2.
A socket mount where anonymous sockets will reside is added to the VirtualFilesystem. Socketfs is built on top of kernfs. Updates #1476, #1478, #1484, #1485. PiperOrigin-RevId: 304095251
Diffstat (limited to 'pkg/sentry/fsimpl/sockfs/BUILD')
-rw-r--r--pkg/sentry/fsimpl/sockfs/BUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/sockfs/BUILD b/pkg/sentry/fsimpl/sockfs/BUILD
new file mode 100644
index 000000000..790d50e65
--- /dev/null
+++ b/pkg/sentry/fsimpl/sockfs/BUILD
@@ -0,0 +1,16 @@
+load("//tools:defs.bzl", "go_library")
+
+licenses(["notice"])
+
+go_library(
+ name = "sockfs",
+ srcs = ["sockfs.go"],
+ visibility = ["//pkg/sentry:internal"],
+ deps = [
+ "//pkg/context",
+ "//pkg/sentry/fsimpl/kernfs",
+ "//pkg/sentry/kernel/auth",
+ "//pkg/sentry/vfs",
+ "//pkg/syserror",
+ ],
+)