diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2021-10-13 16:30:12 +0200 |
|---|---|---|
| committer | Tobias Klauser <tobias.klauser@gmail.com> | 2021-10-14 07:19:29 +0000 |
| commit | 2feb2cc450e1925b9359957c90bae27e01662171 (patch) | |
| tree | 10c10cde1bffe926a4a89f0a91d797110f25d618 /src/syscall/exec_linux.go | |
| parent | 1349c6eb1e3faf8b83db9a1ea30764d56b40c7dc (diff) | |
| download | go-2feb2cc450e1925b9359957c90bae27e01662171.tar.xz | |
syscall: add support for SysProcAttr.Pdeathsig on FreeBSD
Fixes #46258
Change-Id: I63f70e67274a9df39c757243b99b12e50a9e4784
Reviewed-on: https://go-review.googlesource.com/c/go/+/355570
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/syscall/exec_linux.go')
| -rw-r--r-- | src/syscall/exec_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscall/exec_linux.go b/src/syscall/exec_linux.go index dfc5228545..e1506e1e2b 100644 --- a/src/syscall/exec_linux.go +++ b/src/syscall/exec_linux.go @@ -46,7 +46,7 @@ type SysProcAttr struct { // number in the parent process. Foreground bool Pgid int // Child's process group ID if Setpgid. - Pdeathsig Signal // Signal that the process will get when its parent dies (Linux only) + Pdeathsig Signal // Signal that the process will get when its parent dies (Linux and FreeBSD only) Cloneflags uintptr // Flags for clone calls (Linux only) Unshareflags uintptr // Flags for unshare calls (Linux only) UidMappings []SysProcIDMap // User ID mappings for user namespaces. |
