]> Cypherpunks repositories - gostls13.git/commit
runtime: updated SIGSYS to cause a panic + stacktrace
authorJulia Hansbrough <flowerhack@google.com>
Mon, 18 Apr 2016 22:53:29 +0000 (15:53 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 19 Apr 2016 22:48:31 +0000 (22:48 +0000)
commit58012ea785851052a28f20544d7e2da0e0e6eefa
tree1aca6bc0cd60e79f3f0d11862038124388dfc7f3
parent5e74d4095241655ce6bf6e5d32eeaeef353b614f
runtime: updated SIGSYS to cause a panic + stacktrace

On GNU/Linux, SIGSYS is specified to cause the process to terminate
without a core dump. In https://codereview.appspot.com/3749041 , it
appears that Golang accidentally introduced incorrect behavior for
this signal, which caused Golang processes to keep running after
receiving SIGSYS. This change reverts it to the old/correct behavior.

Updates #15204

Change-Id: I3aa48a9499c1bc36fa5d3f40c088fdd7599e0db5
Reviewed-on: https://go-review.googlesource.com/22202
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/sigtab_linux_generic.go
src/runtime/sigtab_linux_mips64x.go