syscall: add Pdeathsig to SysProcAttr for FreeBSD #46258
This request is to add support for Pdeathsig on FreeBSD.
FreeBSD supports requesting a signal when the parent process dies upwards from version 11.2 according to the manpages of procctl via the procctl cmd
The text was updated successfully, but these errors were encountered:
To allow adding fields to ProcSysAttr which are supported on FreeBSD but not on other BSDs. For now exec_freebsd.go is an exact copy of exec_bsd.go with adjusted build tags and copyright year. For #46258 For #46259 Change-Id: I7667a0cdf1ca86ef64a147b77c06db70c5f8eb90 Reviewed-on: https://go-review.googlesource.com/c/go/+/355569 Trust: Tobias Klauser <email@example.com> Run-TryBot: Tobias Klauser <firstname.lastname@example.org> TryBot-Result: Go Bot <email@example.com> Reviewed-by: Ian Lance Taylor <firstname.lastname@example.org>