gunk-dev/the-valley

procattr_linux.go

source6a6791929c36main's published tip history
280 bytes
1package main
2
3import "syscall"
4
5// dieWithParent makes a child process be killed when attest dies, however
6// it dies, so an evaluation never outlives the run that admitted it.
7func dieWithParent() *syscall.SysProcAttr {
8 return &syscall.SysProcAttr{Pdeathsig: syscall.SIGKILL}
9}