From: Joel Sing Date: Thu, 13 Nov 2014 17:29:03 +0000 (+1100) Subject: [dev.cc] runtime: make SIGSYS notifiable on freebsd (again) X-Git-Tag: go1.5beta1~2688^2~55 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b2ec4cf50cf6cf492616b5bae93ffd710164dc41;p=gostls13.git [dev.cc] runtime: make SIGSYS notifiable on freebsd (again) This was originally done to the C port in rev 17d3b45534b5 and seemingly got lost during the conversion. LGTM=bradfitz R=rsc, bradfitz CC=golang-codereviews https://golang.org/cl/167700043 --- diff --git a/src/runtime/signal_freebsd.go b/src/runtime/signal_freebsd.go index d37e11a3ec..1dbdb1bd97 100644 --- a/src/runtime/signal_freebsd.go +++ b/src/runtime/signal_freebsd.go @@ -22,7 +22,7 @@ var sigtable = [...]sigTabT{ /* 9 */ {0, "SIGKILL: kill"}, /* 10 */ {_SigPanic, "SIGBUS: bus error"}, /* 11 */ {_SigPanic, "SIGSEGV: segmentation violation"}, - /* 12 */ {_SigThrow, "SIGSYS: bad system call"}, + /* 12 */ {_SigNotify, "SIGSYS: bad system call"}, /* 13 */ {_SigNotify, "SIGPIPE: write to broken pipe"}, /* 14 */ {_SigNotify, "SIGALRM: alarm clock"}, /* 15 */ {_SigNotify + _SigKill, "SIGTERM: termination"},