summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/BUILD
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2020-04-01 07:56:05 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-01 07:57:12 -0700
commitd01a8ca3473bfbc7a5eb8da5ea662925e5f2673d (patch)
tree1723c8e97ca77dd0e484f42aee5885e5c6efc1c9 /pkg/sentry/socket/BUILD
parent507f997213d4b6778c5da982dd447044b769e7b9 (diff)
Add FileDescription interface for socket files.
Refactor the existing socket interface to share methods between VFS1 and VFS2. The method signatures do not contain anything filesystem-related, so they don't need to be re-defined for VFS2. Updates #1476, #1478, #1484, #1485. PiperOrigin-RevId: 304184545
Diffstat (limited to 'pkg/sentry/socket/BUILD')
-rw-r--r--pkg/sentry/socket/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/socket/BUILD b/pkg/sentry/socket/BUILD
index 611fa22c3..c40c6d673 100644
--- a/pkg/sentry/socket/BUILD
+++ b/pkg/sentry/socket/BUILD
@@ -16,6 +16,7 @@ go_library(
"//pkg/sentry/kernel",
"//pkg/sentry/kernel/time",
"//pkg/sentry/socket/unix/transport",
+ "//pkg/sentry/vfs",
"//pkg/syserr",
"//pkg/tcpip",
"//pkg/usermem",