diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2020-09-11 11:53:54 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-11 11:56:04 -0700 |
commit | 831ab2dd993e834933e0b23310cd616dbc0551ad (patch) | |
tree | b3596007e4db3ecca4ca8fd37281d2e2fda9bf2c /pkg/safemem | |
parent | 964447c8ce1ba4f3c7413e90069a045fe0877c2a (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/BUILD | 4 |
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( |