]> Cypherpunks repositories - gostls13.git/commit
runtime: handle signal 34 for musl setgid
authorGeorge Tsilias <tsiliasg@gmail.com>
Thu, 4 Jun 2020 20:11:56 +0000 (23:11 +0300)
committerIan Lance Taylor <iant@golang.org>
Wed, 28 Oct 2020 00:48:22 +0000 (00:48 +0000)
commit49b017fe59bf628795f2c4fdbcb5db942e865fa9
tree0088500c980e5c1c024788883fea5d67cd1036fb
parent40d1ec588f492f63637b59e933d6c682d66659a4
runtime: handle signal 34 for musl setgid

It has been observed that setgid hangs when using cgo with musl.
This fix ensures that signal 34 gets handled in an appropriate way,
like signal 33 when using glibc.

Fixes #39343

Change-Id: I89565663e2c361f62cbccfe80aaedf290bd58d57
Reviewed-on: https://go-review.googlesource.com/c/go/+/236518
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/sigtab_linux_generic.go
src/runtime/sigtab_linux_mipsx.go