Merge pull request #10404 from tianyuzhou95:albert/watchdog

PiperOrigin-RevId: 632209261
This commit is contained in:
gVisor bot
2024-05-09 11:13:12 -07:00
+1
View File
@@ -242,6 +242,7 @@ func (r *restorer) restore(l *Loader) error {
dog := watchdog.New(l.k, dogOpts)
// Change the loader fields to reflect the changes made when restoring.
l.watchdog.Stop()
l.watchdog = dog
l.root.procArgs = kernel.CreateProcessArgs{}
l.restore = true