diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-04-29 03:17:56 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-29 03:17:56 +0000 |
commit | 633d413b30734e629996821342b81d4e67e0cb22 (patch) | |
tree | 2def7c27594dc8721649b86df5a9b9e856fbfe47 /pkg/sentry/vfs/filesystem.go | |
parent | b11d270c40b190c6aef7396d0e5f0941d123a345 (diff) | |
parent | ce19497c1c0829af6ba56f0cc68e3a4cb33cf1c8 (diff) |
Merge release-20200413.0-18-gce19497 (automated)
Diffstat (limited to 'pkg/sentry/vfs/filesystem.go')
-rwxr-xr-x | pkg/sentry/vfs/filesystem.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg/sentry/vfs/filesystem.go b/pkg/sentry/vfs/filesystem.go index 70385a21f..1edd584c9 100755 --- a/pkg/sentry/vfs/filesystem.go +++ b/pkg/sentry/vfs/filesystem.go @@ -494,7 +494,13 @@ type FilesystemImpl interface { // BoundEndpointAt returns the Unix socket endpoint bound at the path rp. // - // - If a non-socket file exists at rp, then BoundEndpointAt returns ECONNREFUSED. + // Errors: + // + // - If the file does not have write permissions, then BoundEndpointAt + // returns EACCES. + // + // - If a non-socket file exists at rp, then BoundEndpointAt returns + // ECONNREFUSED. BoundEndpointAt(ctx context.Context, rp *ResolvingPath, opts BoundEndpointOptions) (transport.BoundEndpoint, error) // PrependPath prepends a path from vd to vd.Mount().Root() to b. |