]> Cypherpunks repositories - gostls13.git/commit
syscall: don't send child signal when testing pidfd
authorIan Lance Taylor <iant@golang.org>
Thu, 20 Feb 2025 01:37:49 +0000 (17:37 -0800)
committerGopher Robot <gobot@golang.org>
Thu, 20 Feb 2025 17:20:38 +0000 (09:20 -0800)
commit0de8fc852704d672e3379b05d617ce75dc0b2613
tree88ffe5d8c2319d0158567624866b1f81be683016
parent458ac1b01590506891b2ad2b300ead76aaa4e119
syscall: don't send child signal when testing pidfd

Avoid a spurious SIGCHLD the first time we start a process.

Fixes #71828

Change-Id: I744100d21bf6aaaaafc99bc5eec9f9f807a50682
Reviewed-on: https://go-review.googlesource.com/c/go/+/650835
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/os/exec/exec_posix_test.go
src/syscall/exec_linux.go