summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/kernel.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-06-16 07:19:06 +0000
committergVisor bot <gvisor-bot@google.com>2020-06-16 07:19:06 +0000
commit931e5ce48ae3b9a63e3d0f9742261d75645f7fe8 (patch)
tree70272cc7163dc87f095f3edfa6a65fdcef2da8df /pkg/sentry/kernel/kernel.go
parent236b6749fcd27a7086d73e429b50c3727d3ebc50 (diff)
parent3b0b1f104d963a1d11973c444934e6744ab7e79b (diff)
Merge release-20200608.0-62-g3b0b1f104 (automated)
Diffstat (limited to 'pkg/sentry/kernel/kernel.go')
-rw-r--r--pkg/sentry/kernel/kernel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/kernel.go b/pkg/sentry/kernel/kernel.go
index bcbeb6a39..52491da7a 100644
--- a/pkg/sentry/kernel/kernel.go
+++ b/pkg/sentry/kernel/kernel.go
@@ -892,7 +892,7 @@ func (k *Kernel) CreateProcess(args CreateProcessArgs) (*ThreadGroup, ThreadID,
if mntnsVFS2 == nil {
// MountNamespaceVFS2 adds a reference to the namespace, which is
// transferred to the new process.
- mntnsVFS2 = k.GlobalInit().Leader().MountNamespaceVFS2()
+ mntnsVFS2 = k.globalInit.Leader().MountNamespaceVFS2()
}
// Get the root directory from the MountNamespace.
root := args.MountNamespaceVFS2.Root()