| 1 | package main |
| 2 | |
| 3 | import "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. |
| 7 | func dieWithParent() *syscall.SysProcAttr { |
| 8 | return &syscall.SysProcAttr{Pdeathsig: syscall.SIGKILL} |
| 9 | } |