mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Merge pull request #11333 from benhurdelhey:ben-hurdelhey_data/fix-mount-setup-initial-userns-fallback
PiperOrigin-RevId: 713006567
This commit is contained in:
+1
-1
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user