| 1 | //go:build !linux |
| 2 | |
| 3 | package main |
| 4 | |
| 5 | import "syscall" |
| 6 | |
| 7 | // dieWithParent asks nothing of a child process where the system cannot |
| 8 | // kill it when its parent dies. There, a telemetry request's ssh that a |
| 9 | // command leaves behind ends when the host ends the request, or when its |
| 10 | // keepalive gives up on a dead connection (docs/reference.md), and an |
| 11 | // attest verify ends when its verification does. |
| 12 | func dieWithParent() *syscall.SysProcAttr { |
| 13 | return nil |
| 14 | } |