buildkit/util/testutil/integration/sandbox_unix.go

12 lines
194 B
Go

// +build !windows
package integration
import "syscall"
func getSysProcAttr() *syscall.SysProcAttr {
return &syscall.SysProcAttr{
Setsid: true, // stretch sudo needs this for sigterm
}
}