summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/control
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-14 21:44:54 +0000
committergVisor bot <gvisor-bot@google.com>2020-02-14 21:44:54 +0000
commit554d094fa3665815d8582f5cb1e5a68fd41b5ea1 (patch)
treea3af4032f5f12d84c5be5310115a2f968989882c /pkg/sentry/control
parentd266dd12b9c9fa6c691a43fef3b63e37bd649dc6 (diff)
parente4c7f3e6f6c19f3259820a4c41b69e85c0454379 (diff)
Merge release-20200211.0-20-ge4c7f3e (automated)
Diffstat (limited to 'pkg/sentry/control')
-rw-r--r--pkg/sentry/control/proc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/control/proc.go b/pkg/sentry/control/proc.go
index 8973754c8..5457ba5e7 100644
--- a/pkg/sentry/control/proc.go
+++ b/pkg/sentry/control/proc.go
@@ -199,7 +199,7 @@ func (proc *Proc) execAsync(args *ExecArgs) (*kernel.ThreadGroup, kernel.ThreadI
}
paths := fs.GetPath(initArgs.Envv)
- vfsObj := proc.Kernel.VFS
+ vfsObj := proc.Kernel.VFS()
file, err := ResolveExecutablePath(ctx, vfsObj, initArgs.WorkingDirectory, initArgs.Argv[0], paths)
if err != nil {
return nil, 0, nil, fmt.Errorf("error finding executable %q in PATH %v: %v", initArgs.Argv[0], paths, err)