diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-09-17 11:55:54 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-17 12:01:45 -0700 |
commit | da07e38f7c986dca568466beea8a0b7db60f09db (patch) | |
tree | d1d297c3cfa8bc266d654405f260f7fcc78a5320 /runsc/container/container.go | |
parent | f0b1bd434eb00a0f13cbbc141078a95ba0bc15a4 (diff) |
Remove option to panic gofer
Gofer panics are suppressed by p9 server and an error
is returned to the caller, making it effectively the
same as returning EROFS.
PiperOrigin-RevId: 332282959
Diffstat (limited to 'runsc/container/container.go')
-rw-r--r-- | runsc/container/container.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/runsc/container/container.go b/runsc/container/container.go index 6e1d6a568..63478ba8c 100644 --- a/runsc/container/container.go +++ b/runsc/container/container.go @@ -902,9 +902,6 @@ func (c *Container) createGoferProcess(spec *specs.Spec, conf *config.Config, bu } args = append(args, "gofer", "--bundle", bundleDir) - if conf.Overlay { - args = append(args, "--panic-on-write=true") - } // Open the spec file to donate to the sandbox. specFile, err := specutils.OpenSpec(bundleDir) |