dependencies: update runc to v1.1.13

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
This commit is contained in:
Akhil Mohan
2024-06-20 23:11:11 +05:30
parent 3ee4d98364
commit 322ec75fd1
16 changed files with 117 additions and 23 deletions

View File

@@ -48,6 +48,7 @@ func (l *linuxSetnsInit) Init() error {
}
}
}
if l.config.CreateConsole {
if err := setupConsole(l.consoleSocket, l.config, false); err != nil {
return err
@@ -61,6 +62,14 @@ func (l *linuxSetnsInit) Init() error {
return err
}
}
// Tell our parent that we're ready to exec. This must be done before the
// Seccomp rules have been applied, because we need to be able to read and
// write to a socket.
if err := syncParentReady(l.pipe); err != nil {
return fmt.Errorf("sync ready: %w", err)
}
if err := selinux.SetExecLabel(l.config.ProcessLabel); err != nil {
return err
}