Merge pull request #11333 from benhurdelhey:ben-hurdelhey_data/fix-mount-setup-initial-userns-fallback

PiperOrigin-RevId: 713006567
This commit is contained in:
gVisor bot
2025-01-07 12:43:03 -08:00
+1 -1
View File
@@ -557,7 +557,7 @@ func (g *Gofer) setupMounts(conf *config.Config, mounts []specs.Mount, root, pro
// to open the mount, so let's try to open it in the
// parent user namespace.
var res container.OpenMountResult
if err := goferToHostRPC.Call("goferRPC.OpenMount", &m, &res); err != nil {
if err := goferToHostRPC.Call("goferToHostRPC.OpenMount", &m, &res); err != nil {
return fmt.Errorf("opening %s: %w", m.Source, err)
}
srcFile = res.Files[0]