diff options
author | Mikio Hara <mikioh.mikioh@gmail.com> | 2016-04-28 09:35:19 +0900 |
---|---|---|
committer | Mikio Hara <mikioh.mikioh@gmail.com> | 2016-04-28 21:48:44 +0000 |
commit | be730b49ca41e8a7e98a21cf61bb6c9c7fc7857e (patch) | |
tree | 1f35228610fcc864badf4b7a7d1747d4f608ab70 /src/runtime/sigtab_linux_generic.go | |
parent | bec0863b53777f313396a10f0bc1349139d1009e (diff) | |
download | go-be730b49ca41e8a7e98a21cf61bb6c9c7fc7857e.tar.gz go-be730b49ca41e8a7e98a21cf61bb6c9c7fc7857e.zip |
runtime: drop _SigUnblock for SIGSYS on Linux
The _SigUnblock flag was appended to SIGSYS slot of runtime signal table
for Linux in https://go-review.googlesource.com/22202, but there is
still no concrete opinion on whether SIGSYS must be an unblocked signal
for runtime.
This change removes _SigUnblock flag from SIGSYS on Linux for
consistency in runtime signal handling and adds a reference to #15204 to
runtime signal table for FreeBSD.
Updates #15204.
Change-Id: I42992b1d852c2ab5dd37d6dbb481dba46929f665
Reviewed-on: https://go-review.googlesource.com/22537
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/sigtab_linux_generic.go')
-rw-r--r-- | src/runtime/sigtab_linux_generic.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/sigtab_linux_generic.go b/src/runtime/sigtab_linux_generic.go index e97497f18c..ea36bf3645 100644 --- a/src/runtime/sigtab_linux_generic.go +++ b/src/runtime/sigtab_linux_generic.go @@ -45,7 +45,7 @@ var sigtable = [...]sigTabT{ /* 28 */ {_SigNotify, "SIGWINCH: window size change"}, /* 29 */ {_SigNotify, "SIGIO: i/o now possible"}, /* 30 */ {_SigNotify, "SIGPWR: power failure restart"}, - /* 31 */ {_SigThrow + _SigUnblock, "SIGSYS: bad system call"}, + /* 31 */ {_SigThrow, "SIGSYS: bad system call"}, /* 32 */ {_SigSetStack + _SigUnblock, "signal 32"}, /* SIGCANCEL; see issue 6997 */ /* 33 */ {_SigSetStack + _SigUnblock, "signal 33"}, /* SIGSETXID; see issues 3871, 9400, 12498 */ /* 34 */ {_SigNotify, "signal 34"}, |