]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.cc] runtime: make SIGSYS notifiable on freebsd (again)
authorJoel Sing <jsing@google.com>
Thu, 13 Nov 2014 17:29:03 +0000 (04:29 +1100)
committerJoel Sing <jsing@google.com>
Thu, 13 Nov 2014 17:29:03 +0000 (04:29 +1100)
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

index d37e11a3ecc0b5c12f843073ab09fe86072bfc37..1dbdb1bd9756a3cfa703d2a85679773dc9538fd5 100644 (file)
@@ -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"},