diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-12-10 19:40:28 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-10 19:40:28 +0000 |
commit | 352fa0ee640613d26197a4b19ce66e99213cee3e (patch) | |
tree | adce73913fe89446a05c580d277670cf78521d21 /pkg/sentry/socket | |
parent | 84d9776521b950829cf020af9ed4e0b42b86491c (diff) | |
parent | f6e87be82f189d7d2176dc2ca4a2d261481a032a (diff) |
Merge release-20191129.0-36-gf6e87be (automated)
Diffstat (limited to 'pkg/sentry/socket')
-rw-r--r-- | pkg/sentry/socket/socket.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/sentry/socket/socket.go b/pkg/sentry/socket/socket.go index 8c250c325..2389a9cdb 100644 --- a/pkg/sentry/socket/socket.go +++ b/pkg/sentry/socket/socket.go @@ -43,6 +43,11 @@ type ControlMessages struct { IP tcpip.ControlMessages } +// Release releases Unix domain socket credentials and rights. +func (c *ControlMessages) Release() { + c.Unix.Release() +} + // Socket is the interface containing socket syscalls used by the syscall layer // to redirect them to the appropriate implementation. type Socket interface { |