summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2020-05-07 10:19:11 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-07 10:20:48 -0700
commit16da7e790f570d9743fb47e50c304e6a24834772 (patch)
tree81c4f3536674bf40c27a925718af307d670f5ea4 /pkg
parent553da2cdc8a8a67be8473a12b3df8b8038801fb0 (diff)
Update privateunixsocket TODOs.
Synthetic sockets do not have the race condition issue in VFS2, and we will get rid of privateunixsocket as well. Fixes #1200. PiperOrigin-RevId: 310386474
Diffstat (limited to 'pkg')
-rw-r--r--pkg/sentry/fs/gofer/session.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/sentry/fs/gofer/session.go b/pkg/sentry/fs/gofer/session.go
index f6b3ef178..b5efc86f2 100644
--- a/pkg/sentry/fs/gofer/session.go
+++ b/pkg/sentry/fs/gofer/session.go
@@ -190,9 +190,9 @@ type session struct {
// be socket/pipe files. This allows unix domain sockets and named pipes to
// be used with paths that belong to a gofer.
//
- // TODO(gvisor.dev/issue/1200): there are few possible races with someone
- // stat'ing the file and another deleting it concurrently, where the file
- // will not be reported as socket file.
+ // There are a few possible races with someone stat'ing the file and another
+ // deleting it concurrently, where the file will not be reported as socket
+ // file.
overrides *overrideMaps `state:"wait"`
}