]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: treat SIGSTOP on Solaris as we do on other systems
authorIan Lance Taylor <iant@golang.org>
Tue, 1 Nov 2016 17:24:06 +0000 (10:24 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 1 Nov 2016 20:02:40 +0000 (20:02 +0000)
This makes no practical difference, as SIGSTOP can not be caught, but
may as well be consistent.

Change-Id: I3efbbf092388bb3f6dccc94cf703c5d94d35f6a1
Reviewed-on: https://go-review.googlesource.com/32533
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/signal_solaris.go

index a86f7bf6b423eb37d81ba54249683dc243346313..c931c222d68013c300a86208cd1808fa70a754a4 100644 (file)
@@ -33,7 +33,7 @@ var sigtable = [...]sigTabT{
        /* 20 */ {_SigNotify, "SIGWINCH: window size change"},
        /* 21 */ {_SigNotify, "SIGURG: urgent socket condition"},
        /* 22 */ {_SigNotify, "SIGPOLL: pollable event occurred"},
-       /* 23 */ {_SigNotify + _SigDefault, "SIGSTOP: stop (cannot be caught or ignored)"},
+       /* 23 */ {0, "SIGSTOP: stop (cannot be caught or ignored)"},
        /* 24 */ {_SigNotify + _SigDefault, "SIGTSTP: user stop requested from tty"},
        /* 25 */ {_SigNotify + _SigDefault, "SIGCONT: stopped process has been continued"},
        /* 26 */ {_SigNotify + _SigDefault, "SIGTTIN: background tty read attempted"},