diff options
author | Jamie Liu <jamieliu@google.com> | 2019-06-25 15:37:11 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-06-25 15:38:11 -0700 |
commit | ffee0f36b1314934e694863f1cb00924e6fc582e (patch) | |
tree | e3be093cc54db95a69212f3b11bbf5be1e1ea009 /pkg/fdchannel/BUILD | |
parent | a8f148b8e4098eaeb80e1d704b64aab8aeb1294f (diff) |
Add //pkg/fdchannel.
To accompany flipcall connections in cases where passing FDs is required
(as for gofers).
PiperOrigin-RevId: 255062277
Diffstat (limited to 'pkg/fdchannel/BUILD')
-rw-r--r-- | pkg/fdchannel/BUILD | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/fdchannel/BUILD b/pkg/fdchannel/BUILD new file mode 100644 index 000000000..e54e7371c --- /dev/null +++ b/pkg/fdchannel/BUILD @@ -0,0 +1,17 @@ +load("//tools/go_stateify:defs.bzl", "go_library", "go_test") + +package(licenses = ["notice"]) + +go_library( + name = "fdchannel", + srcs = ["fdchannel_unsafe.go"], + importpath = "gvisor.dev/gvisor/pkg/fdchannel", + visibility = ["//visibility:public"], +) + +go_test( + name = "fdchannel_test", + size = "small", + srcs = ["fdchannel_test.go"], + embed = [":fdchannel"], +) |