diff options
author | Joel Sing <jsing@google.com> | 2014-11-14 04:29:03 +1100 |
---|---|---|
committer | Joel Sing <jsing@google.com> | 2014-11-14 04:29:03 +1100 |
commit | 8d5385d316b061bd8cef706c69169739be572599 (patch) | |
tree | 33ca915ebd79c3343d023b8579f23502939d271d /src/runtime | |
parent | 44746d159eb524353fd59b79470d9fcd34014376 (diff) | |
download | go-8d5385d316b061bd8cef706c69169739be572599.tar.gz |
[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://codereview.appspot.com/167700043
Diffstat (limited to 'src/runtime')
-rw-r--r-- | src/runtime/signal_freebsd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/signal_freebsd.go b/src/runtime/signal_freebsd.go index d37e11a3e..1dbdb1bd9 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"}, |