]> Cypherpunks repositories - gostls13.git/commitdiff
os/signal: remove SIGSYS from list of signals that take no action
authorIan Lance Taylor <iant@golang.org>
Wed, 5 Jun 2024 20:41:20 +0000 (13:41 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 7 Jun 2024 18:11:00 +0000 (18:11 +0000)
It actually causes the program to throw.

Fixes #67729

Change-Id: Id970baff631616a4dc4e434827e622e1b16f2724
Reviewed-on: https://go-review.googlesource.com/c/go/+/590915
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/os/signal/doc.go

index 900704a1a9937dbbd8b6543db0ef3b2ad63e75ac..1d3e6eb573a552e81b172e989776edbfe31d4358 100644 (file)
@@ -68,7 +68,7 @@ signals SIGTSTP, SIGTTIN, and SIGTTOU, in which case the system
 default behavior does not occur. It also applies to some signals that
 otherwise cause no action: SIGUSR1, SIGUSR2, SIGPIPE, SIGALRM,
 SIGCHLD, SIGCONT, SIGURG, SIGXCPU, SIGXFSZ, SIGVTALRM, SIGWINCH,
-SIGIO, SIGPWR, SIGSYS, SIGINFO, SIGTHR, SIGWAITING, SIGLWP, SIGFREEZE,
+SIGIO, SIGPWR, SIGINFO, SIGTHR, SIGWAITING, SIGLWP, SIGFREEZE,
 SIGTHAW, SIGLOST, SIGXRES, SIGJVM1, SIGJVM2, and any real time signals
 used on the system. Note that not all of these signals are available
 on all systems.