summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/hostfd/BUILD
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2020-11-06 00:18:34 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-06 00:20:35 -0800
commit29683f359822310d0f81a5c0f6ccaf98d6c284a3 (patch)
tree693f4e72d5ec70713cebb45887b87216bdc54815 /pkg/sentry/hostfd/BUILD
parent06e33cd737c59623ddcca60eacefb112fc1a0cd4 (diff)
Cap iovec array length in //pkg/sentry/hostfd.
PiperOrigin-RevId: 341001328
Diffstat (limited to 'pkg/sentry/hostfd/BUILD')
-rw-r--r--pkg/sentry/hostfd/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/hostfd/BUILD b/pkg/sentry/hostfd/BUILD
index 364a78306..db3b0d0a0 100644
--- a/pkg/sentry/hostfd/BUILD
+++ b/pkg/sentry/hostfd/BUILD
@@ -6,10 +6,12 @@ go_library(
name = "hostfd",
srcs = [
"hostfd.go",
+ "hostfd_linux.go",
"hostfd_unsafe.go",
],
visibility = ["//pkg/sentry:internal"],
deps = [
+ "//pkg/log",
"//pkg/safemem",
"//pkg/sync",
"@org_golang_x_sys//unix:go_default_library",