diff options
author | Dean Deng <deandeng@google.com> | 2020-08-17 11:40:08 -0700 |
---|---|---|
committer | Rahat Mahmood <46939889+mrahatm@users.noreply.github.com> | 2020-08-19 11:38:34 -0700 |
commit | d1179ffa205b6ea60b450fd1c7e91230564719c8 (patch) | |
tree | f689175cdbabf2ca52c76d111fafe0e3450f5a0c /pkg/refs_vfs2/BUILD | |
parent | 80681bdb9541f31eafbe6e4593f76d98ff6e641a (diff) |
Remove weak references from unix sockets.
The abstract socket namespace no longer holds any references on sockets.
Instead, TryIncRef() is used when a socket is being retrieved in
BoundEndpoint(). Abstract sockets are now responsible for removing themselves
from the namespace they are in, when they are destroyed.
Updates #1486.
PiperOrigin-RevId: 327064173
Diffstat (limited to 'pkg/refs_vfs2/BUILD')
-rw-r--r-- | pkg/refs_vfs2/BUILD | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/refs_vfs2/BUILD b/pkg/refs_vfs2/BUILD index 7f180c7bd..7b3e10683 100644 --- a/pkg/refs_vfs2/BUILD +++ b/pkg/refs_vfs2/BUILD @@ -19,10 +19,8 @@ go_template( ) go_library( - name = "refs", - srcs = [ - "refs.go", - ], + name = "refs_vfs2", + srcs = ["refs.go"], visibility = ["//pkg/sentry:internal"], deps = ["//pkg/context"], ) |