diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-10-16 14:41:43 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-10-16 14:41:43 -0700 |
commit | d22f0534c07a2b1a21cecb88db80cbc662bbd5af (patch) | |
tree | c7b084b23f6ce46486fec70c49baa1968f1afa0f /pkg/sentry/fs/host/socket.go | |
parent | de9a8e0eb7d66e75c4367be3437c4eb36a080f67 (diff) | |
parent | 2c3e2ed2bf4aa61bf317545fe428ff3adac95f92 (diff) |
Merge pull request #736 from tanjianfeng:fix-unix
PiperOrigin-RevId: 275114157
Diffstat (limited to 'pkg/sentry/fs/host/socket.go')
-rw-r--r-- | pkg/sentry/fs/host/socket.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/sentry/fs/host/socket.go b/pkg/sentry/fs/host/socket.go index 2392787cb..107336a3e 100644 --- a/pkg/sentry/fs/host/socket.go +++ b/pkg/sentry/fs/host/socket.go @@ -385,3 +385,6 @@ func (c *ConnectedEndpoint) RecvMaxQueueSize() int64 { func (c *ConnectedEndpoint) Release() { c.ref.DecRefWithDestructor(c.close) } + +// CloseUnread implements transport.ConnectedEndpoint.CloseUnread. +func (c *ConnectedEndpoint) CloseUnread() {} |