runtime: add special handling for signal 34
authorA. Wilcox <AWilcox@Wilcox-Tech.com>
Sun, 30 Aug 2020 15:30:07 +0000 (17:30 +0200)
committerIan Lance Taylor <iant@golang.org>
Mon, 18 Apr 2022 22:16:35 +0000 (15:16 -0700)
commit208b7d85d73cbd166e207f0e062cccbdfbf52bb3
tree9ad7aa0d2479624e6a39cca53959dcd5219d4804
parentd210653f3907ac1829fd275d067b2855ea53da24
runtime: add special handling for signal 34

The musl libc uses signal 34 internally for setgid (similar to how glibc
uses signal 32 and signal 33).  For this reason, special handling is
needed for this signal in the runtime. The gc implementation already
handles the signal accordingly.  As such, this commit intends to
simply copy the behavior of the Google Go implementation to libgo.

See https://go.dev/issues/39343

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/400594
gcc/go/gofrontend/MERGE
libgo/go/runtime/signal_gccgo.go
libgo/mksigtab.sh