summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/unix/BUILD
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-09-29 11:51:10 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-29 11:51:10 -0700
commit7d64bc1fdf538869de5964475110a69580b481ad (patch)
treef200e78e078c95a3ddabb812de5da3bb80bf1f3a /pkg/sentry/socket/unix/BUILD
parentf15182243e508b0754d59350a886397e2a0ba0b2 (diff)
parent71f8cab91b2005c9e3ab904e3a2cba99cb031230 (diff)
Merge pull request #3875 from btw616:fix/issue-3874
PiperOrigin-RevId: 334428344
Diffstat (limited to 'pkg/sentry/socket/unix/BUILD')
-rw-r--r--pkg/sentry/socket/unix/BUILD16
1 files changed, 14 insertions, 2 deletions
diff --git a/pkg/sentry/socket/unix/BUILD b/pkg/sentry/socket/unix/BUILD
index a89583dad..cc7408698 100644
--- a/pkg/sentry/socket/unix/BUILD
+++ b/pkg/sentry/socket/unix/BUILD
@@ -7,10 +7,21 @@ go_template_instance(
name = "socket_refs",
out = "socket_refs.go",
package = "unix",
- prefix = "socketOpsCommon",
+ prefix = "socketOperations",
template = "//pkg/refs_vfs2:refs_template",
types = {
- "T": "socketOpsCommon",
+ "T": "SocketOperations",
+ },
+)
+
+go_template_instance(
+ name = "socket_vfs2_refs",
+ out = "socket_vfs2_refs.go",
+ package = "unix",
+ prefix = "socketVFS2",
+ template = "//pkg/refs_vfs2:refs_template",
+ types = {
+ "T": "SocketVFS2",
},
)
@@ -20,6 +31,7 @@ go_library(
"device.go",
"io.go",
"socket_refs.go",
+ "socket_vfs2_refs.go",
"unix.go",
"unix_vfs2.go",
],