summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/devices/ttydev/BUILD
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2020-06-23 18:47:22 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-23 18:48:37 -0700
commit0f328beb0d830a6e3b88b9f2cc1c9cb48f55c752 (patch)
treee08a83e5fba125a23bedbde02c032826abddaadc /pkg/sentry/devices/ttydev/BUILD
parent65a587dedf1a30b3614a66532d2b448026b9c540 (diff)
Port /dev/tty device to VFS2.
Support is limited to the functionality that exists in VFS1. Updates #2923 #1035 PiperOrigin-RevId: 317981417
Diffstat (limited to 'pkg/sentry/devices/ttydev/BUILD')
-rw-r--r--pkg/sentry/devices/ttydev/BUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/sentry/devices/ttydev/BUILD b/pkg/sentry/devices/ttydev/BUILD
new file mode 100644
index 000000000..12e49b58a
--- /dev/null
+++ b/pkg/sentry/devices/ttydev/BUILD
@@ -0,0 +1,16 @@
+load("//tools:defs.bzl", "go_library")
+
+licenses(["notice"])
+
+go_library(
+ name = "ttydev",
+ srcs = ["ttydev.go"],
+ visibility = ["//pkg/sentry:internal"],
+ deps = [
+ "//pkg/abi/linux",
+ "//pkg/context",
+ "//pkg/sentry/fsimpl/devtmpfs",
+ "//pkg/sentry/vfs",
+ "//pkg/usermem",
+ ],
+)