From b2ec4cf50cf6cf492616b5bae93ffd710164dc41 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Fri, 14 Nov 2014 04:29:03 +1100 Subject: [PATCH] [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 --- src/runtime/signal_freebsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"},