summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/control/BUILD
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2020-04-24 13:45:31 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-24 13:46:58 -0700
commitf13f26d17da56d585fd9857a81175bbd0be8ce60 (patch)
tree647c4f49ca5ed5f8d8f576974b9891ad1658f193 /pkg/sentry/socket/control/BUILD
parentf87964e829f438175edcc0264adc7ce7b3d83842 (diff)
Port SCM Rights to VFS2.
Fixes #1477. PiperOrigin-RevId: 308317511
Diffstat (limited to 'pkg/sentry/socket/control/BUILD')
-rw-r--r--pkg/sentry/socket/control/BUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/sentry/socket/control/BUILD b/pkg/sentry/socket/control/BUILD
index 4d42d29cb..ca16d0381 100644
--- a/pkg/sentry/socket/control/BUILD
+++ b/pkg/sentry/socket/control/BUILD
@@ -4,7 +4,10 @@ package(licenses = ["notice"])
go_library(
name = "control",
- srcs = ["control.go"],
+ srcs = [
+ "control.go",
+ "control_vfs2.go",
+ ],
imports = [
"gvisor.dev/gvisor/pkg/sentry/fs",
],
@@ -18,6 +21,7 @@ go_library(
"//pkg/sentry/kernel/auth",
"//pkg/sentry/socket",
"//pkg/sentry/socket/unix/transport",
+ "//pkg/sentry/vfs",
"//pkg/syserror",
"//pkg/tcpip",
"//pkg/usermem",