summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-10-01 16:27:21 +0000
committergVisor bot <gvisor-bot@google.com>2021-10-01 16:27:21 +0000
commite0bf132a9d106349152188362454f9d034bdd5e1 (patch)
tree73a255cd80bb8ad3798c2a3829e864195fb7057a /runsc
parent2a5f30cf6e6c8c290a345877857e0694f6eac73c (diff)
parent94623ccf513ed21ec67e1fcb6800ee1250fe27b2 (diff)
Merge release-20210921.0-49-g94623ccf5 (automated)
Diffstat (limited to 'runsc')
-rw-r--r--runsc/boot/vfs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/boot/vfs.go b/runsc/boot/vfs.go
index 2f1332566..ac1e5ac37 100644
--- a/runsc/boot/vfs.go
+++ b/runsc/boot/vfs.go
@@ -173,7 +173,7 @@ func (c *containerMounter) mountAll(conf *config.Config, procArgs *kernel.Create
rootProcArgs.Credentials = rootCreds
rootProcArgs.Umask = 0022
rootProcArgs.MaxSymlinkTraversals = linux.MaxSymlinkTraversals
- rootCtx := procArgs.NewContext(c.k)
+ rootCtx := rootProcArgs.NewContext(c.k)
mns, err := c.createMountNamespaceVFS2(rootCtx, conf, rootCreds)
if err != nil {