ZDDC/zddc/internal/convert/sysprocattr_windows.go
2026-06-11 13:32:31 -05:00

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{}
}