diff options
| author | Joel Sing <joel@sing.id.au> | 2023-11-07 00:39:27 +1100 |
|---|---|---|
| committer | Joel Sing <joel@sing.id.au> | 2024-03-20 10:09:15 +0000 |
| commit | fba54f6345449586518039043ab38df337c25146 (patch) | |
| tree | bb9fbd0f197f752a30ca4ed35c9f8039aa83e867 /src/database/sql/sql.go | |
| parent | f94d82b2c03c756f1d8893dc0282e9608e7d32a1 (diff) | |
| download | go-fba54f6345449586518039043ab38df337c25146.tar.xz | |
os/signal: avoid calling ioctl via syscall.Syscall on BSDs
Provide appropriate implementations of internal/syscall/unix.Tcsetpgrp
and use this for runSessionLeader in os/signal/signal_cgo_test.go.
This avoids calling syscall.Syscall with SYS_IOCTL on BSDs.
Updates #59667
Updates #63900
Change-Id: Ifa4696bba9f1eb68e81e7103f030bc254adaf0af
Reviewed-on: https://go-review.googlesource.com/c/go/+/540020
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Joel Sing <joel@sing.id.au>
Diffstat (limited to 'src/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions
