summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsbridge/vfs.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-03-13 16:02:07 +0000
committergVisor bot <gvisor-bot@google.com>2020-03-13 16:02:07 +0000
commitbc50e54cd6edc4d0c398ff7202c28d05a250edf6 (patch)
tree97805c6a1510589a12a26c794d6543155017f01f /pkg/sentry/fsbridge/vfs.go
parent37e789e87f644506503548b039ffbd6c8b52d2cf (diff)
parent8f8f16efafd48da3c5e4db329a90bb76620b2324 (diff)
Merge release-20200219.0-161-g8f8f16e (automated)
Diffstat (limited to 'pkg/sentry/fsbridge/vfs.go')
-rwxr-xr-xpkg/sentry/fsbridge/vfs.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/sentry/fsbridge/vfs.go b/pkg/sentry/fsbridge/vfs.go
index 6aa17bfc1..79b808359 100755
--- a/pkg/sentry/fsbridge/vfs.go
+++ b/pkg/sentry/fsbridge/vfs.go
@@ -115,8 +115,6 @@ func NewVFSLookup(mntns *vfs.MountNamespace, root, workingDir vfs.VirtualDentry)
//
// remainingTraversals is not configurable in VFS2, all callers are using the
// default anyways.
-//
-// TODO(gvisor.dev/issue/1623): Check mount has read and exec permission.
func (l *vfsLookup) OpenPath(ctx context.Context, pathname string, opts vfs.OpenOptions, _ *uint, resolveFinal bool) (File, error) {
vfsObj := l.mntns.Root().Mount().Filesystem().VirtualFilesystem()
creds := auth.CredentialsFromContext(ctx)