14 lines
467 B
Go
14 lines
467 B
Go
//go:build windows
|
|
|
|
package convert
|
|
|
|
import "syscall"
|
|
|
|
// sysProcAttr returns the platform-specific SysProcAttr for the
|
|
// container-engine child. Windows: no Setpgid / Pdeathsig analogue;
|
|
// process-group semantics differ. We rely on context cancel +
|
|
// cmd.Process.Kill() + WaitDelay for cleanup. In practice production
|
|
// deployments are Linux containers where the full hardening applies.
|
|
func sysProcAttr() *syscall.SysProcAttr {
|
|
return &syscall.SysProcAttr{}
|
|
}
|