summaryrefslogtreecommitdiffhomepage
path: root/pkg/safemem
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2020-09-11 11:53:54 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-11 11:56:04 -0700
commit831ab2dd993e834933e0b23310cd616dbc0551ad (patch)
treeb3596007e4db3ecca4ca8fd37281d2e2fda9bf2c /pkg/safemem
parent964447c8ce1ba4f3c7413e90069a045fe0877c2a (diff)
Fix host unix socket to not swallow EOF incorrectly.
Fixes an error where in case of a receive buffer larger than the host send buffer size for a host backed unix dgram socket we would end up swallowing EOF from recvmsg syscall causing the read() to block forever. PiperOrigin-RevId: 331192810
Diffstat (limited to 'pkg/safemem')
-rw-r--r--pkg/safemem/BUILD4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/safemem/BUILD b/pkg/safemem/BUILD
index ce30382ab..68ed074f8 100644
--- a/pkg/safemem/BUILD
+++ b/pkg/safemem/BUILD
@@ -11,9 +11,7 @@ go_library(
"seq_unsafe.go",
],
visibility = ["//:sandbox"],
- deps = [
- "//pkg/safecopy",
- ],
+ deps = ["//pkg/safecopy"],
)
go_test(