diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-06-06 02:14:41 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-06 02:14:41 +0000 |
commit | 3fd0d124a05da2850ba2f1fb2e367d16266a5bf5 (patch) | |
tree | 589002f811ebaa5f51cf47b181099a975a6805cf /pkg/sentry/vfs/vfs.go | |
parent | c346064ffa0852a1a6a0c19a25bd5a5d30e1376f (diff) | |
parent | 21b6bc7280f68f43360a008ffd02a4f461ec9fc8 (diff) |
Merge release-20200522.0-89-g21b6bc72 (automated)
Diffstat (limited to 'pkg/sentry/vfs/vfs.go')
-rw-r--r-- | pkg/sentry/vfs/vfs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/vfs/vfs.go b/pkg/sentry/vfs/vfs.go index 52643a7c5..9acca8bc7 100644 --- a/pkg/sentry/vfs/vfs.go +++ b/pkg/sentry/vfs/vfs.go @@ -405,7 +405,7 @@ func (vfs *VirtualFilesystem) OpenAt(ctx context.Context, creds *auth.Credential vfs.putResolvingPath(rp) if opts.FileExec { - if fd.Mount().flags.NoExec { + if fd.Mount().Flags.NoExec { fd.DecRef() return nil, syserror.EACCES } |