sync: rename procResume -> procHooksDone

The old name was quite confusing, and with the addition of the
procMountPlease sync message there are now multiple sync messages that
are related to "resuming" runc-init.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
This commit is contained in:
Aleksa Sarai
2023-08-17 15:13:33 +10:00
committed by lifubang
parent f235fa6763
commit ccc76713a7
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -568,7 +568,7 @@ func (p *initProcess) start() (retErr error) {
}
}
// Sync with child.
if err := writeSync(p.messageSockPair.parent, procResume); err != nil {
if err := writeSync(p.messageSockPair.parent, procHooksDone); err != nil {
return err
}
default: