summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/gofer/gofer.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-05-11 23:18:07 +0000
committergVisor bot <gvisor-bot@google.com>2020-05-11 23:18:07 +0000
commit2849f236ac4416edef0b1ded345e5f129286d2fb (patch)
treea94bd8d1373f4ca8f7ec1e2db7f85a6ab8b1cf7b /pkg/sentry/fsimpl/gofer/gofer.go
parent1e96d3da8c32c5a3862ad8e9a473f3444c985ffe (diff)
parent15de8cc9e0e7789c3d55595171b3272ec726931f (diff)
Merge release-20200422.0-68-g15de8cc (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/gofer/gofer.go')
-rwxr-xr-xpkg/sentry/fsimpl/gofer/gofer.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/gofer/gofer.go b/pkg/sentry/fsimpl/gofer/gofer.go
index e68e37ebc..1da8d5d82 100755
--- a/pkg/sentry/fsimpl/gofer/gofer.go
+++ b/pkg/sentry/fsimpl/gofer/gofer.go
@@ -221,6 +221,10 @@ type InternalFilesystemOptions struct {
// which servers can handle only a single client and report failure if that
// client disconnects.
LeakConnection bool
+
+ // If OpenSocketsByConnecting is true, silently translate attempts to open
+ // files identifying as sockets to connect RPCs.
+ OpenSocketsByConnecting bool
}
// Name implements vfs.FilesystemType.Name.